Quote:
Originally Posted by Melwin
Quote:
Originally Posted by Cisyouc
!!!!
<lie> Oh how I wish I had my old title of Buddy Christ... </lie>
/wink
|
You really don't know any better, do you? :(
|
Bah. I guess the title fits
Oh well.
__________________
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.
|