![]() |
TrinityCore
|
#include <ChatCommandTags.h>
Inheritance diagram for Trinity::ChatCommands::Variant< T1, Ts >: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 266 of file ChatCommandTags.h.
| using Trinity::ChatCommands::Variant< T1, Ts >::base = std::variant<T1, Ts...> |
Definition at line 268 of file ChatCommandTags.h.
| using Trinity::ChatCommands::Variant< T1, Ts >::first_type = Trinity::Impl::ChatCommands::tag_base_t<T1> |
Definition at line 270 of file ChatCommandTags.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 296 of file ChatCommandTags.h.
|
inlineconstexpr |
Definition at line 294 of file ChatCommandTags.h.
|
inlineconstexpr |
Definition at line 298 of file ChatCommandTags.h.
|
inlineconstexpr |
|
inline |
|
inline |
Definition at line 286 of file ChatCommandTags.h.
|
inline |
Definition at line 274 of file ChatCommandTags.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 289 of file ChatCommandTags.h.
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 303 of file ChatCommandTags.h.
|
friend |
Definition at line 309 of file ChatCommandTags.h.
|
staticconstexpr |
Definition at line 271 of file ChatCommandTags.h.