AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ChatCommandTags.h"
Public Types | |
using | base = std::variant< T1, Ts... > |
using | first_type = Acore::Impl::ChatCommands::tag_base_t< T1 > |
Public Member Functions | |
template<bool C = have_operators> | |
std::enable_if_t< C, first_type > | operator* () const |
template<bool C = have_operators> | |
operator std::enable_if_t< C, first_type > () const | |
template<bool C = have_operators> | |
operator std::enable_if_t< C &&!std::is_same_v< first_type, std::size_t > &&std::is_convertible_v< first_type, std::size_t >, std::size_t > () const | |
template<bool C = have_operators> | |
std::enable_if_t< C, bool > | operator! () const |
template<typename T > | |
Variant & | operator= (T &&arg) |
template<std::size_t index> | |
constexpr decltype(auto) | get () |
template<std::size_t index> | |
constexpr decltype(auto) | get () const |
template<typename type > | |
constexpr decltype(auto) | get () |
template<typename type > | |
constexpr decltype(auto) | get () const |
template<typename T > | |
constexpr decltype(auto) | visit (T &&arg) |
template<typename T > | |
constexpr decltype(auto) | visit (T &&arg) const |
template<typename T > | |
constexpr bool | holds_alternative () const |
Static Public Attributes | |
static constexpr bool | have_operators = Acore::Impl::ChatCommands::are_all_assignable<first_type, Acore::Impl::ChatCommands::tag_base_t<Ts>...>::value |
Friends | |
template<bool C = have_operators> | |
std::enable_if_t< C, std::ostream & > | operator<< (std::ostream &os, Acore::ChatCommands::Variant< T1, Ts... > const &v) |
using Acore::ChatCommands::Variant< T1, Ts >::base = std::variant<T1, Ts...> |
using Acore::ChatCommands::Variant< T1, Ts >::first_type = Acore::Impl::ChatCommands::tag_base_t<T1> |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
References Acore::ChatCommands::Variant< T1, Ts >::operator*().
|
inline |
|
inline |
|
inline |
References Acore::ChatCommands::Variant< T1, Ts >::visit().
Referenced by Acore::ChatCommands::Variant< T1, Ts >::operator std::enable_if_t< C &&!std::is_same_v< first_type, std::size_t > &&std::is_convertible_v< first_type, std::size_t >, std::size_t >(), and Acore::ChatCommands::Variant< T1, Ts >::operator std::enable_if_t< C, first_type >().
|
inline |
|
inlineconstexpr |
Referenced by Acore::ChatCommands::Variant< T1, Ts >::operator*().
|
inlineconstexpr |
|
friend |
|
staticconstexpr |