Imma Nerd!
My nerdy score is 39%. Click the image to find your nerd score.
....Bah the [img] isnt workin :(
__________________
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.
|