TrinityCore
|
#include <ChatCommandTags.h>
Public Types | |
using | base = std::variant< T1, Ts... > |
using | first_type = Trinity::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> | |
std::enable_if_t< C, bool > | operator! () const |
template<typename T > | |
Variant & | operator= (T &&arg) |
template<size_t index> | |
constexpr decltype(auto) | get () |
template<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 = Trinity::Impl::ChatCommands::are_all_assignable<first_type, Trinity::Impl::ChatCommands::tag_base_t<Ts>...>::value |
Friends | |
template<bool C = have_operators> | |
std::enable_if_t< C, std::ostream & > | operator<< (std::ostream &os, Trinity::ChatCommands::Variant< T1, Ts... > const &v) |
Definition at line 263 of file ChatCommandTags.h.
using Trinity::ChatCommands::Variant< T1, Ts >::base = std::variant<T1, Ts...> |
Definition at line 265 of file ChatCommandTags.h.
using Trinity::ChatCommands::Variant< T1, Ts >::first_type = Trinity::Impl::ChatCommands::tag_base_t<T1> |
Definition at line 267 of file ChatCommandTags.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 293 of file ChatCommandTags.h.
|
inlineconstexpr |
Definition at line 291 of file ChatCommandTags.h.
|
inlineconstexpr |
Definition at line 295 of file ChatCommandTags.h.
|
inlineconstexpr |
|
inline |
|
inline |
Definition at line 283 of file ChatCommandTags.h.
|
inline |
Definition at line 271 of file ChatCommandTags.h.
|
inline |
Definition at line 286 of file ChatCommandTags.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 300 of file ChatCommandTags.h.
|
friend |
Definition at line 306 of file ChatCommandTags.h.
|
staticconstexpr |
Definition at line 268 of file ChatCommandTags.h.