![]() |
Project
|
type trait to transparently use sequences of types This type trait simply forwards to the given type if it is already a sequence but wraps any non-sequence type into an mpl vector with one entry. More...
#include <mpl_tools.h>
Public Types | |
enum | { isSequence = VectorTraits<T, typename boost::mpl::begin<T>::type>::result } |
iSequence tells if the original type is a sequence More... | |
using | type = typename VectorTraits< T, typename boost::mpl::begin< T >::type >::type |
the tarits type, always a sequence | |
type trait to transparently use sequences of types This type trait simply forwards to the given type if it is already a sequence but wraps any non-sequence type into an mpl vector with one entry.
Usage: make_mpl_vector<T>::type make_mpl_vector<T>::isSequence
Definition at line 57 of file mpl_tools.h.
using o2::mpl::make_mpl_vector< T >::type = typename VectorTraits<T, typename boost::mpl::begin<T>::type>::type |
the tarits type, always a sequence
Definition at line 84 of file mpl_tools.h.
anonymous enum |
iSequence tells if the original type is a sequence
Enumerator | |
---|---|
isSequence |
Definition at line 82 of file mpl_tools.h.