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..
|