View Single Post
  #14  
Old 04-05-2005, 06:45 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by Lexen1
Thank you for your input everyone, and nice perl code Cisyouc, that made me laugh :p
Yoo c4n yoose it 2 jus put #L33ts4uc3 by CISYOUC!!!!!!!!!!!!!!!!!!! 4bov3 it kk
__________________
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