That depends. At one point the out and in_out classes had assert checks in them. c_out would check to make sure that it was assigned some value inside the called function, for example. The other thing is, the idea here is to force people CALLING your function (func) to show the world what's going on by using the out or in_out function at the point func is called. You'd also want totally separate types that can't be implicitly cast from one to the other, since the point here is to make it clear at the point func is called what is happening to the parameters that are passed.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gennadiy Rozental Sent: Wednesday, April 23, 2003 1:20 AM To: [EMAIL PROTECTED] Subject: [boost] Re: class proposal > void func(CRetVal<int> x){x = 1977;}; Basically boost::ref could be used for the same purpose, isn't it? Just different name Gennadiy. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost