Section: 23.10.9 [allocator.traits] Status: C++14 Submitter: Marshall Clow Opened: 2013-08-27 Last modified: 2016-02-10
Priority: Not Prioritized
View all issues with C++14 status.
Section 23.10.9 [allocator.traits] says:
static size_type max_size(const Alloc& a) noexcept;
Section 184.108.40.206 [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 220.127.116.11 [allocator.traits.members] as follows:
static size_type max_size( Alloc& a) noexcept;