File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5986
5986
5987
5987
\begin{itemdescr}
5988
5988
\pnum
5989
- Let \tcode{U} be the type \tcode{remove_cv_t<remove_reference_t<ValueType >>}.
5989
+ Let \tcode{U} be the type \tcode{remove_cv_t<remove_reference_t<T >>}.
5990
5990
5991
5991
\pnum
5992
5992
\requires
5993
- For the first overload, \tcode{is_constructible_v<ValueType , const U\&>} is \tcode{true}.
5994
- For the second overload, \tcode{is_constructible_v<ValueType , U\&>} is \tcode{true}.
5995
- For the third overload, \tcode{is_constructible_v<ValueType , U>} is \tcode{true}.
5993
+ For the first overload, \tcode{is_constructible_v<T , const U\&>} is \tcode{true}.
5994
+ For the second overload, \tcode{is_constructible_v<T , U\&>} is \tcode{true}.
5995
+ For the third overload, \tcode{is_constructible_v<T , U>} is \tcode{true}.
5996
5996
Otherwise the program is ill-formed.
5997
5997
5998
5998
\pnum
5999
5999
\returns
6000
- For the first and second overload, \tcode{static_cast<ValueType >(*any_cast<U>(\&operand))}.
6001
- For the third overload, \tcode{static_cast<ValueType >(std::move(*any_cast<U>(\&operand)))}.
6000
+ For the first and second overload, \tcode{static_cast<T >(*any_cast<U>(\&operand))}.
6001
+ For the third overload, \tcode{static_cast<T >(std::move(*any_cast<U>(\&operand)))}.
6002
6002
6003
6003
\pnum
6004
6004
\throws
You can’t perform that action at this time.
0 commit comments