wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::db::TableRecord Concept Reference

A type the table engine can carry as its record: a flat generated (or hand-written test) struct naming its client version and table. More...

#include <wowlib/db/schema.hpp>

Concept definition

template<typename R>
concept TableRecord = std::is_class_v<R> && std::default_initializable<R> && requires {
{ R::Version } -> std::convertible_to<ClientVersion>; { std::string_view{R::TableName} };
}
A type the table engine can carry as its record: a flat generated (or hand-written test) struct namin...
Definition schema.hpp:269

Detailed Description

A type the table engine can carry as its record: a flat generated (or hand-written test) struct naming its client version and table.

Definition at line 269 of file schema.hpp.