header_utils
Loading...
Searching...
No Matches

Contains traits for the named template. More...

Classes

struct  ghassanpl::traits::addable
 Specifies that the named type can be addable to itself. More...
struct  ghassanpl::traits::subtractable
 Specifies that the named type can be subtractable from itself. More...
struct  ghassanpl::traits::incrementable
 Makes the named incrementable. More...
struct  ghassanpl::traits::location
 This trait implies the named type is an affine type, that is, a type that does not have the addition operator defined on itself. More...
struct  ghassanpl::traits::displacement
 This trait implies the named type is an linear type, that is, a type that has the addition operator defined on itself Implies addable Example: length, offset. More...
struct  ghassanpl::traits::implicitly_convertible
 Specifies that the named type can be implicitly convertible from its base type. More...
struct  ghassanpl::traits::implicitly_constructible
 Specifies that the named type can be implicitly constructible from its base type. More...
struct  ghassanpl::traits::implicitly_constructible_from< T >
 Specifies that the named type can be implicitly constructible from another type. More...
struct  ghassanpl::traits::is_displacement_of< LOCATION_NAMED_TYPE >
 Used in conjuction with traits::displacement, specifies which location type this is a displacement of. More...
struct  ghassanpl::traits::is_location_of< DISPLACEMENT_NAMED_TYPE >
 Used in conjuction with traits::location, specifies which displacement type this is a location of. More...
struct  ghassanpl::traits::constructible_using< FROM, CONVERTOR >
 Alternative to named_cast, as a trait. More...

Detailed Description

Contains traits for the named template.


Class Documentation

◆ ghassanpl::traits::constructible_using

struct ghassanpl::traits::constructible_using
template<typename FROM, typename CONVERTOR>
struct ghassanpl::traits::constructible_using< FROM, CONVERTOR >

Alternative to named_cast, as a trait.

Definition at line 92 of file named.h.

Class Members
typedef CONVERTOR convertor
typedef FROM from