Update issue status for LWG 2768 and 2769
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284321 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/any b/include/any
index 69fdbdd..8fe9e8f 100644
--- a/include/any
+++ b/include/any
@@ -579,7 +579,8 @@
{
using _RawValueType = __uncvref_t<_ValueType>;
static_assert(is_constructible<_ValueType, _RawValueType const &>::value,
- "ValueType is required to be a reference or a CopyConstructible type");
+ "ValueType is required to be a const lvalue reference "
+ "or a CopyConstructible type");
auto __tmp = _VSTD::any_cast<add_const_t<_RawValueType>>(&__v);
if (__tmp == nullptr)
__throw_bad_any_cast();
@@ -592,7 +593,8 @@
{
using _RawValueType = __uncvref_t<_ValueType>;
static_assert(is_constructible<_ValueType, _RawValueType &>::value,
- "ValueType is required to be a reference or a CopyConstructible type");
+ "ValueType is required to be an lvalue reference "
+ "or a CopyConstructible type");
auto __tmp = _VSTD::any_cast<_RawValueType>(&__v);
if (__tmp == nullptr)
__throw_bad_any_cast();
@@ -605,7 +607,8 @@
{
using _RawValueType = __uncvref_t<_ValueType>;
static_assert(is_constructible<_ValueType, _RawValueType>::value,
- "ValueType is required to be an rvalue reference or a CopyConstructible type");
+ "ValueType is required to be an rvalue reference "
+ "or a CopyConstructible type");
auto __tmp = _VSTD::any_cast<_RawValueType>(&__v);
if (__tmp == nullptr)
__throw_bad_any_cast();