Title
Declaration of allocator_arg should be constexpr
Status
c++11
Section
[memory]
Submitter
Alisdair Meredith

Created on 2009-03-19.00:00:00 last changed 162 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [memory] p2:

// 20.8.1, allocator argument tag
struct allocator_arg_t { };
constexpr allocator_arg_t allocator_arg = allocator_arg_t();
Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

We agree with the proposed resolution. Move to Tentatively Ready.

Date: 2009-03-19.00:00:00

Declaration of allocator_arg should be constexpr to ensure constant initialization.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg594
2010-10-21 18:28:33adminsetmessages: + msg593
2009-03-19 00:00:00admincreate