openMSX
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)
 

Friends

template<typename T >
constexpr friend bool operator== (const T &t, const one_of &o)
 
template<typename T >
constexpr friend 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)
inlineconstexpr

Definition at line 9 of file one_of.hh.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 17 of file one_of.hh.

◆ operator==

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

Definition at line 12 of file one_of.hh.


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