From: Noel Yap (Noel.Yap_at_[hidden])
Date: 2003-05-03 23:44:12
"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 between
> 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
In parameters are const.
In/out parameters are not const.
Given the above, you should be able to tell them apart.