View Single Post
  #3  
Old 11-13-2004, 01:13 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

See my qFlag code on this:

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

Right now it only works for 0.6.0-DR1 because I haven't wanted to port it into DR2 yet.
__________________
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