Boost logo

Boost :

Subject: Re: [boost] Standard library Technical Report 2 proposals for Boost libraries
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-12-08 05:44:54


On Wed, Dec 7, 2011 at 8:16 PM, Daniel James <dnljms_at_[hidden]> wrote:
> On 6 December 2011 11:25, Olaf van der Spek <ml_at_[hidden]> wrote:
>> On Mon, Dec 5, 2011 at 7:00 PM, Beman Dawes <bdawes_at_[hidden]> wrote:
>>
>>> Also, iterator_traits is viewed as an anachronism by some influential
>>> committee members, both because of the lumping of multiple traits into
>>> a single class and because of the problems using the current
>>> iterator_traits with SFINAE. So you might want to consider a set of
>>> replacement traits that follows modern practice. Proposing something
>>> like that for Boost would be a good start.
>>
>> I've never used iterator_traits myself and am not aware of these
>> problems. Got any pointers? :p
>
> These are considered better:
>
> http://www.boost.org/libs/iterator/doc/iterator_traits.html
>
> Separate traits which follow a common convention have proved to be
> useful in template meta-programming, especially when used with MPL.
> I'm not sure how C++11 changes things though.

Ticket created: https://svn.boost.org/trac/boost/ticket/6240

Are there any plans to propose Boost Iterator for TR2?

-- 
Olaf

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