Skip to content

Commit 1a811b7

Browse files
committed
P3836R2 Make optional<T&> trivially copyable
Fixes NB US 134-215 (C++26 CD).
1 parent 35a6fb8 commit 1a811b7

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
@@ -4532,6 +4532,9 @@
45324532
the \defnx{contained value}{contained value!\idxcode{optional.ref}}
45334533
is a reference to \tcode{*\exposid{val}}.
45344534

4535+
\pnum
4536+
Each type \tcode{optional<T\&>} is a trivially copyable class\iref{class.prop}.
4537+
45354538
\rSec3[optional.ref.ctor]{Constructors}
45364539

45374540
\begin{itemdecl}

0 commit comments

Comments
 (0)