Project
Loading...
Searching...
No Matches
o2::mpl::make_mpl_vector< T > Class Template Reference

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
 

Detailed Description

template<typename T>
class o2::mpl::make_mpl_vector< T >

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.

Member Typedef Documentation

◆ type

template<typename T >
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.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum

iSequence tells if the original type is a sequence

Enumerator
isSequence 

Definition at line 82 of file mpl_tools.h.


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