Quote:
Originally Posted by Melwin
Quote:
Originally Posted by aendaar
jackass...how the hell do you join so soon, become a moderator, and get your own topic? that pisses me off to no end.
|
Who is this even directed at?
|
I thought you, thus my link above.
__________________
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.
|