Skip to content

Commit ebd893b

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG3315 Correct Allocator Default Behavior
Also fixes NB US 162, US 163 (C++20 CD).
1 parent b561e61 commit ebd893b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/lib-intro.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,12 +2200,12 @@
22002200
(not used) &
22012201
\effects Constructs an object of type \tcode{C} at
22022202
\tcode{c} &
2203-
\tcode{::new ((void*)c) C(forward<\brk{}Args>\brk(args)...)} \\ \rowsep
2203+
\tcode{construct_at(c,~std::\brk{}forward<Args>\brk{}(args)...)} \\ \rowsep
22042204

22052205
\tcode{a.destroy(c)} &
22062206
(not used) &
22072207
\effects Destroys the object at \tcode{c} &
2208-
\tcode{c->\~{}C()} \\ \rowsep
2208+
\tcode{destroy_at(c)} \\ \rowsep
22092209

22102210
\tcode{a.select_on_container_copy_construction()} &
22112211
\tcode{X} &

0 commit comments

Comments
 (0)