Created on 2025-07-10.00:00:00 last changed 3 days ago
Proposed resolution:
This wording is relative to N5008.
Modify [map.overview] as indicated:
// 23.4.3.2, construct/copy/destroy constexpr map() : map(Compare()) { } constexpr explicit map(const Compare& comp, const Allocator& = Allocator()); template<class InputIterator> constexpr map(InputIterator first, InputIterator last, const Compare& comp = Compare(), const Allocator& = Allocator()); template<container-compatible-range <value_type> R> constexpr map(from_range_t, R&& rg, const Compare& comp = Compare(), const Allocator& = Allocator()); constexpr map(const map& x); constexpr map(map&& x); constexpr explicit map(const Allocator&); constexpr map(const map&, const type_identity_t<Allocator>&); constexpr map(map&&, const type_identity_t<Allocator>&); constexpr map(initializer_list<value_type>, const Compare& = Compare(), const Allocator& = Allocator());
[ 2025-08-21; Reflector poll ]
Set status to Tentatively Ready after six votes in favour during reflector poll.
The intent of P3372R3 was for all container constructors to be constexpr, but during application of the paper to the working draft it was observed that one `map` constructor was missed.
History | |||
---|---|---|---|
Date | User | Action | Args |
2025-08-26 14:53:08 | admin | set | messages: + msg14962 |
2025-08-26 14:53:08 | admin | set | status: new -> ready |
2025-07-10 12:50:54 | admin | set | messages: + msg14888 |
2025-07-10 00:00:00 | admin | create |