wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::db::detail::FixedString< N > Struct Template Reference

A compile-time string NTTP (the column<"id">() spelling). More...

#include <wowlib/db/typed.hpp>

Public Member Functions

consteval FixedString (const char(&s)[N])
consteval std::string_view view () const

Public Attributes

char text [N] = {}

Detailed Description

template<std::size_t N>
struct wowlib::db::detail::FixedString< N >

A compile-time string NTTP (the column<"id">() spelling).

Definition at line 141 of file typed.hpp.

Constructor & Destructor Documentation

◆ FixedString()

template<std::size_t N>
wowlib::db::detail::FixedString< N >::FixedString ( const char(&) s[N])
inlineconsteval

Definition at line 143 of file typed.hpp.

References text.

Member Function Documentation

◆ view()

template<std::size_t N>
std::string_view wowlib::db::detail::FixedString< N >::view ( ) const
inlineconsteval

Definition at line 144 of file typed.hpp.

References text.

Member Data Documentation

◆ text

template<std::size_t N>
char wowlib::db::detail::FixedString< N >::text[N] = {}

Definition at line 142 of file typed.hpp.

Referenced by FixedString(), and view().


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