Quote:
Originally Posted by relorm500
I think he should learn someting new everyday lol.
Not to flame, ,etc. etc.
|
Nobody is flaming!! Good god.
And well said, Kahn.
__________________
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.
|