Skip to content

Commit 66a8def

Browse files
committed
[optional] Add missing \exposid markup to "val" member
1 parent a4e8211 commit 66a8def

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

source/utilities.tex

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,7 +3357,7 @@
33573357
constexpr void reset() noexcept;
33583358

33593359
private:
3360-
T* val; // \expos
3360+
T* @\exposidnc{val}@; // \expos
33613361
};
33623362

33633363
template<class T>
@@ -4263,7 +4263,7 @@
42634263

42644264
\begin{itemdescr}
42654265
\pnum
4266-
Let \tcode{U} be \tcode{invoke_result_t<F, decltype(*val)>}.
4266+
Let \tcode{U} be \tcode{invoke_result_t<F, decltype(*\exposid{val})>}.
42674267

42684268
\pnum
42694269
\mandates
@@ -4274,7 +4274,7 @@
42744274
Equivalent to:
42754275
\begin{codeblock}
42764276
if (*this) {
4277-
return invoke(std::forward<F>(f), *val);
4277+
return invoke(std::forward<F>(f), *@\exposid{val}@);
42784278
} else {
42794279
return remove_cvref_t<U>();
42804280
}
@@ -4289,7 +4289,7 @@
42894289

42904290
\begin{itemdescr}
42914291
\pnum
4292-
Let \tcode{U} be \tcode{invoke_result_t<F, decltype(std::move(*val))>}.
4292+
Let \tcode{U} be \tcode{invoke_result_t<F, decltype(std::move(*\exposid{val}))>}.
42934293

42944294
\pnum
42954295
\mandates
@@ -4300,7 +4300,7 @@
43004300
Equivalent to:
43014301
\begin{codeblock}
43024302
if (*this) {
4303-
return invoke(std::forward<F>(f), std::move(*val));
4303+
return invoke(std::forward<F>(f), std::move(*@\exposid{val}@));
43044304
} else {
43054305
return remove_cvref_t<U>();
43064306
}
@@ -4315,15 +4315,15 @@
43154315

43164316
\begin{itemdescr}
43174317
\pnum
4318-
Let \tcode{U} be \tcode{remove_cv_t<invoke_result_t<F, decltype(*val)>>}.
4318+
Let \tcode{U} be \tcode{remove_cv_t<invoke_result_t<F, decltype(*\exposid{val})>>}.
43194319

43204320
\pnum
43214321
\mandates
43224322
\tcode{U} is a non-array object type
43234323
other than \tcode{in_place_t} or \tcode{nullopt_t}.
43244324
The declaration
43254325
\begin{codeblock}
4326-
U u(invoke(std::forward<F>(f), *val));
4326+
U u(invoke(std::forward<F>(f), *@\exposid{val}@));
43274327
\end{codeblock}
43284328
is well-formed for some invented variable \tcode{u}.
43294329
\begin{note}
@@ -4334,7 +4334,7 @@
43344334
\returns
43354335
If \tcode{*this} contains a value, an \tcode{optional<U>} object
43364336
whose contained value is direct-non-list-initialized with
4337-
\tcode{invoke(std::forward<F>(f), *val)};
4337+
\tcode{invoke(std::forward<F>(f), *\exposid{val})};
43384338
otherwise, \tcode{optional<U>()}.
43394339
\end{itemdescr}
43404340

@@ -4347,15 +4347,15 @@
43474347
\begin{itemdescr}
43484348
\pnum
43494349
Let \tcode{U} be
4350-
\tcode{remove_cv_t<invoke_result_t<F, decltype(std::move(*val))>>}.
4350+
\tcode{remove_cv_t<invoke_result_t<F, decltype(std::move(*\exposid{val}))>>}.
43514351

43524352
\pnum
43534353
\mandates
43544354
\tcode{U} is a non-array object type
43554355
other than \tcode{in_place_t} or \tcode{nullopt_t}.
43564356
The declaration
43574357
\begin{codeblock}
4358-
U u(invoke(std::forward<F>(f), std::move(*val)));
4358+
U u(invoke(std::forward<F>(f), std::move(*@\exposid{val}@)));
43594359
\end{codeblock}
43604360
is well-formed for some invented variable \tcode{u}.
43614361
\begin{note}
@@ -4366,7 +4366,7 @@
43664366
\returns
43674367
If \tcode{*this} contains a value, an \tcode{optional<U>} object
43684368
whose contained value is direct-non-list-initialized with
4369-
\tcode{invoke(std::forward<F>(f), std::move(*val))};
4369+
\tcode{invoke(std::forward<F>(f), std::move(*\exposid{val}))};
43704370
otherwise, \tcode{optional<U>()}.
43714371
\end{itemdescr}
43724372

0 commit comments

Comments
 (0)