tetl 0.1.0
Embedded Template Library
|
If the imaginary function definition To test() { return etl::declval<From>(); }
is well-formed, (that is, either etl::declval<From>()
can be converted to To using implicit conversions, or both From and To are possibly cv-qualified void), provides the member constant value equal to true. Otherwise value is false. For the purposes of this check, the use of etl::declval
in the return statement is not considered an odr-use. Access checks are performed as if from a context unrelated to either type. Only the validity of the immediate context of the expression in the return statement (including conversions to the return type) is considered.
More...
#include <is_convertible.hpp>
Additional Inherited Members | |
![]() | |
using | type |
using | type |
using | value_type |
using | value_type |
![]() | |
constexpr | operator value_type () const noexcept |
constexpr | operator value_type () const noexcept |
constexpr auto | operator() () const noexcept -> value_type |
constexpr auto | operator() () const noexcept -> value_type |
![]() | |
static constexpr bool | value |
static constexpr bool | value |
If the imaginary function definition To test() { return etl::declval<From>(); }
is well-formed, (that is, either etl::declval<From>()
can be converted to To using implicit conversions, or both From and To are possibly cv-qualified void), provides the member constant value equal to true. Otherwise value is false. For the purposes of this check, the use of etl::declval
in the return statement is not considered an odr-use. Access checks are performed as if from a context unrelated to either type. Only the validity of the immediate context of the expression in the return statement (including conversions to the return type) is considered.