Boost logo

Boost Users :

From: MB (mb2act_at_[hidden])
Date: 2006-01-15 11:33:09


Felipe Magno de Almeida wrote:
> On 1/14/06, MB <mb2act_at_[hidden]> wrote:
>
> [snip]
>
>
>>Here is the long story:
>> http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2004/n1674.pdf
>
>
> Offtopic: Maybe the problem doesnt lie on const/non-const member
> functions? And the ugly syntax to choose the const when using a
> non-const class?
> Maybe this proposal shouldnt be more general? Not applying only to
> iterator/const_iterator.

I agree.
Boost.Range has 'const_begin/end' for this purpose.
But I think it could be applied to more.
I renamed 'const_range' to 'const_'.

> IMO, if it was, it would probably have more
> chance of acceptance.

If 'const_' is really missing from boost, I might do. :-)

Regards,
MB
p-stade.sourceforge.net


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net