From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-10-23 04:35:32
Shunsuke Sogame wrote:
> If a pointer container holds noncopyable objects,
> the iterators seem not to meet ReadableIteratorConcept
> whose 'value_type' must be CopyConstructible?
it seems that the iterator type itself must be CC and CA. For a given
iterator a, *a must be convertible to iterator_traits<X>::value_type
(we'll use T for this below).
For pointer containers, this currently poses quite a problem because of
its indirected interface: the conversion could succeed if T was defined
as iterator_traits<X>::reference, but the ReadableIteratorConcept does
not allow T to be a reference type.
The only thing I can come up with is that pointer container iterators
does not satisfy the ReadableIteratorConcept, but only the
Does that make sense?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk