Blaze  3.6
blaze::Erase< TL, T > Struct 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 T from a type list TL. 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 <Erase.h>

Detailed Description

template<typename TL, typename T>
struct blaze::Erase< TL, T >

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 T from a type list TL. 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
// Erasing the first occurrence of int from the type list
using SingleInt = blaze::Erase<Tmp,int>::Type;

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