ML Reference
|
Classes | |
struct | SwitchType |
Helper types to switch between implementations of functions by overloading. More... | |
Typedefs | |
typedef SwitchType< true > | OnTrue |
typedef SwitchType< false > | OnFalse |
Functions | |
template<typename T > | |
SwitchType< ml::TypeTraits< T >::isStandardType > | isScalarType () |
The purpose of this function is only to return different result types depending on whether T is a scalar type. More... | |
template<typename T > | |
SwitchType< ml::TypeTraits< T >::isBuiltInIntegerType > | isBuiltInIntegerType () |
typedef SwitchType<false> OverloadSelector::OnFalse |
Definition at line 334 of file mlTypeTraits.h.
typedef SwitchType<true> OverloadSelector::OnTrue |
Definition at line 333 of file mlTypeTraits.h.
SwitchType<ml::TypeTraits<T>::isBuiltInIntegerType> OverloadSelector::isBuiltInIntegerType | ( | ) |
Definition at line 346 of file mlTypeTraits.h.
Referenced by MLIsBuiltInIntegerTypePtr().
SwitchType<ml::TypeTraits<T>::isStandardType> OverloadSelector::isScalarType | ( | ) |
The purpose of this function is only to return different result types depending on whether T is a scalar type.
Use this to call different templated functions depending on the type. The functions need to have a dummy parameter with either type TrueType or FalseType;
Definition at line 341 of file mlTypeTraits.h.