Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::base::IsConvertible< From, To > Struct Template Reference

IsConvertible is similar to std::is_convertible, except that it only looks at direct inheritance relationships (e.g. More...

#include "type_structs.h"

Inheritance diagram for ion::base::IsConvertible< From, To >:
Collaboration diagram for ion::base::IsConvertible< From, To >:

Static Public Attributes

static const bool value
 

Detailed Description

template<typename From, typename To>
struct ion::base::IsConvertible< From, To >

IsConvertible is similar to std::is_convertible, except that it only looks at direct inheritance relationships (e.g.

it doesn't account for conversion operators). IsConvertible<From, To>::value is true iff either IsSameType<To, From>::value or IsBaseOf<To, From>::value is true.

Definition at line 67 of file type_structs.h.

Member Data Documentation

const bool ion::base::BoolType< b >::value
staticinherited

Definition at line 34 of file type_structs.h.


The documentation for this struct was generated from the following file: