Skip to content

Commit 650cba2

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG3035 std::allocator's constructors should be constexpr
Moved 'constexpr' to after template-head.
1 parent 9d15030 commit 650cba2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/utilities.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7470,9 +7470,9 @@
74707470
using propagate_on_container_move_assignment = true_type;
74717471
using is_always_equal = true_type;
74727472

7473-
allocator() noexcept;
7474-
allocator(const allocator&) noexcept;
7475-
template<class U> allocator(const allocator<U>&) noexcept;
7473+
constexpr allocator() noexcept;
7474+
constexpr allocator(const allocator&) noexcept;
7475+
template<class U> constexpr allocator(const allocator<U>&) noexcept;
74767476
~allocator();
74777477

74787478
[[nodiscard]] T* allocate(size_t n);

0 commit comments

Comments
 (0)