Section: 20.2.9 [allocator.traits] Status: C++14 Submitter: Marshall Clow Opened: 2013-08-27 Last modified: 2018-08-21 18:33:31 UTC
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;