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.

### 1403. Inconsistent definitions for `allocator_arg`

Section: 20.10.6 [allocator.tag] Status: C++11 Submitter: Japan Opened: 2010-08-25 Last modified: 2016-01-28

Priority: Not Prioritized

View all issues with C++11 status.

Discussion:

Addresses JP-85

There are inconsistent definitions for `allocator_arg`. In 20.10 [memory] paragraph 1,

    constexpr allocator_arg_t allocator_arg = allocator_arg_t();

and in 20.9.1,

    const allocator_arg_t allocator_arg = allocator_arg_t();

[ Resolved in Rapperswil by a motion to directly apply the words from the ballot comment in N3102. ]

Proposed resolution:

Change "const" to "constexpr" in 20.9.1 as follows.

    constexpr allocator_arg_t allocator_arg = allocator_arg_t();