Quote:
Originally Posted by samandhi
Still NOT fixed as of 5:29 my time... EST.... Just happened again..
|
heh. same here, did it in quest forums again.
__________________
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.
|