Blaze 3.9
blaze::Erase< TL, T > Struct Template Reference

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

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;
Erasing the first occurrence of a type from a type list.
Definition: Erase.h:74
Implementation of a type list.
Definition: TypeList.h:120

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