Quote:
Originally Posted by Malignus Wingnut
However perl is broken in 5.8, making it the devil. Or have they fixed that?
|
Well... just $itemcount{""}
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
|