type_can_be_used_in_basic_result<R>
A constexpr boolean true for types permissible in basic_result<T, E, NoValuePolicy>
.
Overridable: Not overridable.
Definition: True for a type which:
- Is not a reference.
- Is not an
in_place_type_t<T>
. - Is not a
success_type<T>
. - Is not a
failure_type<EC, EP = void>
. - Is not an array.
- Is either
void
, or else is anObject
and isDestructible
.
Namespace: OUTCOME_V2_NAMESPACE::trait
Header: <outcome/trait.hpp>