Public Member Functions | Friends | List of all members
one_of< Ts > Class Template Reference

#include <one_of.hh>

Public Member Functions

constexpr one_of (Ts... ts)


template<typename T >
constexpr bool operator== (const T &t, const one_of &o)

Detailed Description

template<typename... Ts>
class one_of< Ts >

Definition at line 7 of file one_of.hh.

Constructor & Destructor Documentation

◆ one_of()

template<typename... Ts>
constexpr one_of< Ts >::one_of ( Ts...  ts)

Definition at line 9 of file one_of.hh.

Friends And Related Symbol Documentation

◆ operator==

template<typename... Ts>
template<typename T >
constexpr bool operator== ( const T &  t,
const one_of< Ts > &  o 

Definition at line 12 of file one_of.hh.

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