type_to_index Struct Template Reference#include <type_vector.hpp>
Detailed Descriptiontemplate<typename Types, typename T>
Returns the index corresponding to a given type (or size if the type is not present).
| |||||||||
Public Types | |
|
typedef boost::mpl::distance< first, it >::type | type |
Static Public Attributes | |
| static const std::size_t | value = type::value |