From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2003-05-04 00:59:13
At Saturday 5/3/2003 09:44 PM, you wrote:
>"Justin M. Lewis" wrote:
> > > Then all you really need is one reference wrapper that does what ref<>
> > > does without the implicit type casts.
> > >
> > It still wouldn't tell you the intended use, unless you're willing to type
> > template notation all over your code. So, you couldn't use the ref()
> > function anymore, as well. And, even then, it doesn't differentiate
> > out and in_out, and in, if you're using my version of in.
>Again, there's no need for out parameters; they should be returned from
Except when there are many of them. Or are you advocating the approach
taken in "filesystem" where there are several "views" and a bool function
for each to determine existence?
>In parameters are const.
>In/out parameters are not const.
>Given the above, you should be able to tell them apart.
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk