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:
> 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. :-)


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at