Skip to content

Commit 4260d22

Browse files
burblebeetkoeppe
authored andcommitted
[allocator.traits.general] [allocator.traits.members] Remove [[nodiscard]] from allocate_at_least as per P2422R1 (function changed and moved in P2652R2)
1 parent 6a6695c commit 4260d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/memory.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@
13811381

13821382
static constexpr pointer allocate(Alloc& a, size_type n);
13831383
static constexpr pointer allocate(Alloc& a, size_type n, const_void_pointer hint);
1384-
[[nodiscard]] static constexpr allocation_result<pointer, size_type>
1384+
static constexpr allocation_result<pointer, size_type>
13851385
allocate_at_least(Alloc& a, size_type n);
13861386

13871387
static constexpr void deallocate(Alloc& a, pointer p, size_type n);
@@ -1571,7 +1571,7 @@
15711571

15721572
\indexlibrarymember{allocate_at_least}{allocator_traits}%
15731573
\begin{itemdecl}
1574-
[[nodiscard]] static constexpr allocation_result<pointer, size_type>
1574+
static constexpr allocation_result<pointer, size_type>
15751575
allocate_at_least(Alloc& a, size_type n);
15761576
\end{itemdecl}
15771577

0 commit comments

Comments
 (0)