Quote:
I mean the environment. Not the compiler itsself
|
I mean the environment. Not the compiler itsself [/quote]I prefer VC++6..whatever studio version that is =p
__________________
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.
|