tfel
Loading...
Searching...
No Matches
tfel::meta::TLElementIsUnique< T, U > Class Template Reference

A metafunction which returns true if a type appears one and only one time in a TL. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Metaprogramming/TypeList.hxx>

Static Public Attributes

static constexpr bool cond = TLCountNbrOfT<T, U>::value == 1

Detailed Description

template<typename T, typename U>
class tfel::meta::TLElementIsUnique< T, U >

A metafunction which returns true if a type appears one and only one time in a TL.

Parameters
T,atype.
U,aTL.
Returns
cond, true if T appears one and only one time in U.
Author
Thomas Helfer
Date
30/08/2006

Member Data Documentation

◆ cond

template<typename T, typename U>
bool tfel::meta::TLElementIsUnique< T, U >::cond = TLCountNbrOfT<T, U>::value == 1
staticconstexpr

The result of the metafunction. True if T is unique in U.


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