blaze::Erase< TList, Type > Class Template Reference

Erasing the first occurrence of a type from a type list.The Erase class can be used to erase the first occurrence of data type Type from a type list TList. In order to erase the first occurrence of a data type, the Erase class has to be instantiated for a particular type list and another type. The following example gives an impression of the use of the Erase class: More...

#include <TypeList.h>

Detailed Description

template<typename TList, typename Type>
class blaze::Erase< TList, Type >

Erasing the first occurrence of a type from a type list.

The Erase class can be used to erase the first occurrence of data type Type from a type list TList. In order to erase the first occurrence of a data type, the Erase class has to be instantiated for a particular type list and another type. The following example gives an impression of the use of the Erase class:

// Defining a temporary type list containing the type int twice
typedef BLAZE_TYPELIST_4( float, int, double, int ) Tmp;
// Erasing the first occurrence of int from the type list
typedef blaze::Erase<Tmp,int>::Result SingleInt;

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