A type is always explicitly convertible to itself. This is important for classes with deleted copy constructors and/or assignment operators, because starting in C++17, they can be returned from functions, due to "return value optimization (RVO)".
Declared in <bslstl_function_invokerutil.h>
template<class FROM_TO>
struct Function_InvokerUtil_IsExplicitlyConvertible<FROM_TO, FROM_TO>
: bsl::true_type
| Name | Description |
|---|---|
bsl::true_type | Metafunction representing the boolean constant true. |