Note: This paper was among the papers adopted into the draft Library Fundamentals TS yesterday at the Issaquah WA USA ISO C++ meeting.
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3923
Date: 2014-02-14
A SFINAE-Friendly std::iterator_traits, v3
by Walter Brown
Excerpt:
This paper provides wording to reformulate the specification of
iterator_traits
so as to avoid a hard error when its template argument does not have the member types expected of a nonpointer iterator, and thus to make the trait conveniently usable in a SFINAE context.
Add a Comment
Comments are closed.