Ick. I HATE .NET because of the framework. Its like 100mb (alot considering my laptop which i do most of my work on has very little capacity) for slow crappy software. (No offense, not saying yours uses .NET, but the compiler requires it to run)
__________________
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.
|