Boost logo

Boost :

Subject: Re: [boost] clang failing core/detail_iterator_test?
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-07 09:35:02

Eric Niebler wrote:
> On 06/06/2014 02:53 PM, Peter Dimov wrote:
> > Andrey Semashev wrote:
> >
> >> I can reproduce it locally with clang 3.4. Shows only
> >> with -std=c++11 -stdlib=libc++. Trying to dig further.
> >
> > Ah. Sneaky hobbits. Conforming extension my posterior. :-)
> >
> > (Actually, it _is_ a conforming extension, by a strict reading of the
> > standard. Still, I'd have preferred a little less cleverness.)
> std::iterator_traits will be required to be SFINAE-friendly. See n3923:

No problem. SFINAE-friendly means replacing a "hard" compile-time error on
iterator_traits<It>::iterator_category with a "soft" compile-time error.

That's different from replacing a lack of an error with a "soft"
compile-time error though.

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