Whats a tuto? 
 
Oh. And side note, I'll move it to a more appropriate forum, but I don't think it really needs to be locked 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.
			 
		
		
		
		
		
		
	
		
		
	
	
	 |