ECSTASY
All in the name
Loading...
Searching...
No Matches
contains.hpp File Reference

Checks if a type exists in a list of types. More...

#include <type_traits>
Include dependency graph for contains.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  util
 Namespace regrouping helpers used by ecstasy but not specific to ecstasy.
 
namespace  util::meta
 Namespace regrouping all meta programmation helper types.
 

Variables

template<typename T , typename... Ts>
constexpr bool util::meta::contains = std::disjunction_v<std::is_same<T, Ts>...>
 Checks if the type T exists in the types Ts.
 

Detailed Description

Checks if a type exists in a list of types.

Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Version
1.0.0
Date
2022-10-28

Definition in file contains.hpp.