Boost logo

Boost :

Subject: Re: [boost] Standard library Technical Report 2 proposals for Boost libraries
From: Daniel James (dnljms_at_[hidden])
Date: 2011-12-07 14:16:50

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:

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.

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