Skip to content

Commit cd64dcc

Browse files
eisenwavetkoeppe
authored andcommitted
P3836R2 Make optional<T&> trivially copyable
Fixes NB US 134-215 (C++26 CD).
1 parent e44e257 commit cd64dcc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/utilities.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4543,6 +4543,9 @@
45434543
the \defnx{contained value}{contained value!\idxcode{optional.ref}}
45444544
is a reference to \tcode{*\exposid{val}}.
45454545

4546+
\pnum
4547+
Each type \tcode{optional<T\&>} is a trivially copyable class\iref{class.prop}.
4548+
45464549
\rSec3[optional.ref.ctor]{Constructors}
45474550

45484551
\begin{itemdecl}

0 commit comments

Comments
 (0)