blaze::Unique< TList > Class Template Reference

Erasing all duplicates from a type list.The Unique class can be used to erase all duplicates from a type list TList. In order to erase all duplicates, the Unique class has to be instantiated for a particular type list. The following example gives an impression of the use of the Unique class: More...

#include <TypeList.h>

Detailed Description

template<typename TList>
class blaze::Unique< TList >

Erasing all duplicates from a type list.

The Unique class can be used to erase all duplicates from a type list TList. In order to erase all duplicates, the Unique class has to be instantiated for a particular type list. The following example gives an impression of the use of the Unique class:

// Defining a temporary type list containing the types int and float twice
using Tmp = BLAZE_TYPELIST_5( float, int, double, int, float );
// Removing all duplicates from the type list
using NoDuplicates = blaze::Unique<Tmp>::Result;

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