From d943b4665a6d9f51541e7aa67cdefa3390c13826 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Tue, 28 Mar 2017 21:36:23 +0200 Subject: [PATCH] [any.cons] Use 'contained value', not 'contained object'. Fixes #1580. --- source/utilities.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/utilities.tex b/source/utilities.tex index 2767ff17e8..14377e7a1f 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -5599,7 +5599,7 @@ \effects If \tcode{other.has_value()} is \tcode{false}, constructs an object that has no value. Otherwise, equivalent to \tcode{any(in_place, any_cast(other))} -where \tcode{T} is the type of the contained object. +where \tcode{T} is the type of the contained value. \pnum \throws @@ -5616,9 +5616,9 @@ \effects If \tcode{other.has_value()} is \tcode{false}, constructs an object that has no value. Otherwise, constructs an object of type \tcode{any} that -contains either the contained object of \tcode{other}, or +contains either the contained value of \tcode{other}, or contains an object of the same type constructed from -the contained object of \tcode{other} considering that contained object as an rvalue. +the contained value of \tcode{other} considering that contained value as an rvalue. \pnum \postconditions