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

Trait: the element type / extent of a member — unwraps std::array. More...

#include <wowlib/db/schema.hpp>

Public Types

using Element = T

Static Public Attributes

static constexpr std::size_t Extent = 1
static constexpr bool IsArray = false

Detailed Description

template<typename T>
struct wowlib::db::detail::ElementTraits< T >

Trait: the element type / extent of a member — unwraps std::array.

Definition at line 138 of file schema.hpp.

Member Typedef Documentation

◆ Element

template<typename T>
using wowlib::db::detail::ElementTraits< T >::Element = T

Definition at line 139 of file schema.hpp.

Member Data Documentation

◆ Extent

template<typename T>
std::size_t wowlib::db::detail::ElementTraits< T >::Extent = 1
staticconstexpr

Definition at line 140 of file schema.hpp.

Referenced by wowlib::db::detail::classifyMember().

◆ IsArray

template<typename T>
bool wowlib::db::detail::ElementTraits< T >::IsArray = false
staticconstexpr

Definition at line 141 of file schema.hpp.


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