Thread: 6.0-DR1 Bugs
View Single Post
  #3  
Old 10-25-2004, 06:48 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Well I wasnt sure if these were happing to anyone else or not, so I was asking more not reporting =) But I will save link for future reference...
__________________
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