|
Boost : |
From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2006-10-12 13:31:34
Thorsten Ottosen said: (by the date of Thu, 12 Oct 2006 10:48:56 +0200)
> >>We could add operator() which would return operator[]()'s result by value.
> >>
> >>Is anybody opposed to that?
> >
> >
> > Probably. What is the point of doing that?
>
> It would fix our users problem, so he can use () to do what he want.
>
More consequence then, and forward all operators.
But in this scenario some unintended behaviour can appear related to
forwarding not intended by the user.
-- Janek Kozicki |
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk