Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-05-13 19:31:29


Andrey Semashev wrote:
> Hello David,
>
> Sunday, May 13, 2007, 5:21:59 AM, you wrote:
>
>> on Sat May 12 2007, "JOAQUIN LOPEZ MU?Z" <joaquin-AT-tid.es> wrote:
>
>>> I think this is the crux of the matter. value_type is *not*
>>> the same type as underlying_container::value_type. I think
>>> Andrey has a valid point here.
>
>> OK, great, then I support the inclusion of this trait. We just need
>> tests and docs :)
>
> Here it is in the Vault:
>
> http://tinyurl.com/2z56r2

What does 'is_const' for iterators mean?
The New Iterator concept defines Readable and Writable concept,
but I don't know the definition of "constant" iterator.
Well, I think 'iterator_reference<ItT>::type' can return a
const-qualified type even if 'ItT' is Writable.

-- 
Shunsuke Sogame

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk