File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 8169
8169
\end{itemdecl}
8170
8170
8171
8171
\begin{itemdescr}
8172
+ \pnum
8173
+ \mandates
8174
+ \tcode{is_copy_constructible_v<E>} is \tcode{true}.
8175
+
8172
8176
\pnum
8173
8177
\returns
8174
8178
\exposid{val}, if \tcode{has_value()} is \tcode{true}.
8175
8179
8176
8180
\pnum
8177
8181
\throws
8178
- \tcode{bad_expected_access(error())} if \tcode{has_value()} is \tcode{false}.
8182
+ \tcode{bad_expected_access(as_const( error() ))} if \tcode{has_value()} is \tcode{false}.
8179
8183
\end{itemdescr}
8180
8184
8181
8185
\indexlibrarymember{value}{expected}%
8185
8189
\end{itemdecl}
8186
8190
8187
8191
\begin{itemdescr}
8192
+ \pnum
8193
+ \mandates
8194
+ \tcode{is_copy_constructible_v<E>} is \tcode{true} and
8195
+ \tcode{is_constructible_v<E, decltype(std::\linebreak{}move(error()))>} is \tcode{true}.
8196
+
8188
8197
\pnum
8189
8198
\returns
8190
8199
\tcode{std::move(\exposid{val})}, if \tcode{has_value()} is \tcode{true}.
You can’t perform that action at this time.
0 commit comments