Skip to content

Commit e030dc8

Browse files
jensmaurertkoeppe
authored andcommitted
[any.cons] Use 'contained value', not 'contained object'. (#1582)
Fixes #1580.
1 parent 85999de commit e030dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/utilities.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5599,7 +5599,7 @@
55995599
\effects
56005600
If \tcode{other.has_value()} is \tcode{false}, constructs an object that has no value.
56015601
Otherwise, equivalent to \tcode{any(in_place<T>, any_cast<const T\&>(other))}
5602-
where \tcode{T} is the type of the contained object.
5602+
where \tcode{T} is the type of the contained value.
56035603

56045604
\pnum
56055605
\throws
@@ -5616,9 +5616,9 @@
56165616
\effects
56175617
If \tcode{other.has_value()} is \tcode{false}, constructs an object that has no value.
56185618
Otherwise, constructs an object of type \tcode{any} that
5619-
contains either the contained object of \tcode{other}, or
5619+
contains either the contained value of \tcode{other}, or
56205620
contains an object of the same type constructed from
5621-
the contained object of \tcode{other} considering that contained object as an rvalue.
5621+
the contained value of \tcode{other} considering that contained value as an rvalue.
56225622

56235623
\pnum
56245624
\postconditions

0 commit comments

Comments
 (0)