Quote:
Originally Posted by bluejam
*wonders why this thread hasn't been locked/moved yet*
|
Let me answer that in the following way.
Quote:
Originally Posted by Melwin
Truth told I'm fairly confused what the hell is going on with the rules regarding that specific EQ link. I'll ask the team.
|
__________________
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.
|