IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::detail::IsUnique< Check, Collection > Struct Template Reference

#include <TypeUtils.h>

Collaboration diagram for ippl::detail::IsUnique< Check, Collection >:

Public Types

typedef Check type

Static Public Attributes

static constexpr bool enable = !std::disjunction_v<std::is_same<Check, Collection>...>

Detailed Description

template<typename Check, typename... Collection>
struct ippl::detail::IsUnique< Check, Collection >

Variant verification struct Checks that a given type has not already been added to a variant

Template Parameters
Checkthe type for whose presence to check
Collection...a collection of types

Definition at line 25 of file TypeUtils.h.

Member Typedef Documentation

◆ type

template<typename Check, typename... Collection>
typedef Check ippl::detail::IsUnique< Check, Collection >::type

Definition at line 27 of file TypeUtils.h.

Member Data Documentation

◆ enable

template<typename Check, typename... Collection>
bool ippl::detail::IsUnique< Check, Collection >::enable = !std::disjunction_v<std::is_same<Check, Collection>...>
staticconstexpr

Definition at line 26 of file TypeUtils.h.


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