tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
is_convertible.hpp File Reference

Go to the source code of this file.

Classes

struct  is_convertible< From, To >
 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...
 

Namespaces

namespace  etl
 

Variables

template<typename From, typename To>
constexpr bool is_convertible_v = is_convertible<From, To>::value