This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of C++14 status.
Section: 20.2.9 [allocator.traits] Status: C++14 Submitter: Marshall Clow Opened: 2013-08-27 Last modified: 2018-08-21
Priority: Not Prioritized
View all issues with C++14 status.
Section 20.2.9 [allocator.traits] says:
static size_type max_size(const Alloc& a) noexcept;
Section 188.8.131.52 [allocator.traits.members] says:
static size_type max_size(Alloc& a) noexcept;
These should be the same.
Pablo (who I believe wrote the allocator_traits proposal) says "The function should take a const reference."
No objections, so moved to Immediate.
Accept for Working Paper
This wording is relative to N3691.
Change 184.108.40.206 [allocator.traits.members] as follows:
static size_type max_size( Alloc& a) noexcept;