Boost logo

Boost :

Subject: Re: [boost] [type_traits] Interest in is_iterator type trait?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2014-08-20 17:34:31

On 20/08/2014 15:52, Peter Dimov wrote:
> Mathias Gaunard wrote:
>> Alternatively, Boost could provide a boost::iterator_traits that
>> always behaves like C++14's (and would even be an alias to
>> std::iterator_traits in C++14)
> Iterators without nested types specialize std::iterator_traits.
> boost::iterator_traits will not work for them.

Users that want boost::is_iterator to work on such iterators will need
to specialize boost::iterator_traits in addition to std::iterator_traits.

Boost could also pre-emptively specialize iterator_traits for well-known
iterators that need this.

Boost list run by bdawes at, gregod at, cpdaniel at, john at