A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue1286 below:

Issue 1286: allocator_traits::select_on_container_copy_construction type-o

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.

1286. allocator_traits::select_on_container_copy_construction type-o

Section: 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( a) if that expression is well-formed; otherwise, rhs.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4