View Single Post
  #2  
Old 08-06-2004, 03:17 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

First let me say...
Use Search.

But in pity I give you this link which, if you looked at all, would be easily found at the top of the EQEMu Development board.

http://www.eqemulator.net/forums/viewtopic.php?t=15601

Remember, this is unsupported.
__________________
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.
Reply With Quote