TrinityCore
Loading...
Searching...
No Matches
Trinity::Impl::ChatCommands::string_literal< Size > Struct Template Reference

#include <ChatCommandTags.h>

Public Member Functions

constexpr string_literal (char const (&str)[Size])
 
constexpr operator std::string_view () const
 

Public Attributes

std::array< char, Size > value
 

Detailed Description

template<std::size_t Size>
struct Trinity::Impl::ChatCommands::string_literal< Size >

Definition at line 51 of file ChatCommandTags.h.

Constructor & Destructor Documentation

◆ string_literal()

template<std::size_t Size>
constexpr Trinity::Impl::ChatCommands::string_literal< Size >::string_literal ( char const (&)  str[Size])
inlineconstexpr

Definition at line 53 of file ChatCommandTags.h.

Member Function Documentation

◆ operator std::string_view()

template<std::size_t Size>
constexpr Trinity::Impl::ChatCommands::string_literal< Size >::operator std::string_view ( ) const
inlineconstexpr

Definition at line 58 of file ChatCommandTags.h.

Member Data Documentation

◆ value

template<std::size_t Size>
std::array<char, Size> Trinity::Impl::ChatCommands::string_literal< Size >::value

Definition at line 63 of file ChatCommandTags.h.


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