View Single Post
  #3  
Old 04-03-2005, 02:34 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Approved and Documented.

25 Quest Points have been added to sirreality.
__________________
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.

Last edited by Cisyouc; 04-03-2005 at 10:39 PM..
Reply With Quote