ISIS Core Library 0.7.2 (api 3.0.0)
Public Member Functions

isis::util::checkType< T > Struct Template Reference

Templated pseudo struct to check for availability of a type at compile time. More...

#include <types.hpp>

Public Member Functions

 BOOST_MPL_ASSERT_MSG ((boost::mpl::contains< _internal::types, T >::value), TYPE_IS_NOT_KNOWN,(T))

Detailed Description

template<typename T>
struct isis::util::checkType< T >

Templated pseudo struct to check for availability of a type at compile time.

Instanciating this with any datatype (eg: checkType<short>() ) will cause the compiler to raise an error if this datatype is not in the list of the supported types.

Definition at line 73 of file types.hpp.


Member Function Documentation

template<typename T>
isis::util::checkType< T >::BOOST_MPL_ASSERT_MSG ( (boost::mpl::contains< _internal::types, T >::value)  ,
TYPE_IS_NOT_KNOWN  ,
(T)   
)

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