This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++11 status.
allocator_traits::select_on_container_copy_construction
type-oSection: 20.2.9.3 [allocator.traits.members] Status: C++11 Submitter: Howard Hinnant Opened: 2009-12-10 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [allocator.traits.members].
View all issues with C++11 status.
Discussion:
allocator_traits::select_on_container_copy_construction
refers to an
unknown "a
":
static Alloc select_on_container_copy_construction(const Alloc& rhs);7 Returns:
rhs.select_on_container_copy_construction(a)
if that expression is well-formed; otherwise,rhs
.
[ 2009-12-13 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]
Proposed resolution:
Change 20.2.9.3 [allocator.traits.members], p7:
static Alloc select_on_container_copy_construction(const Alloc& rhs);7 Returns:
rhs.select_on_container_copy_construction(
if that expression is well-formed; otherwise,a)rhs
.