Quote:
Originally Posted by Deimos
Like I said, I cannot hack the eqclint myself, but I know someone who can. I will show you once I get around to getting it, right now, it is not on the top of my priority list.
|
You know thats illegal, right?
__________________
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.
|