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

A member serialized inline as a nested record: a non-trivial class the walker recurses into member-by-member at the current cursor (M2Track and friends). More...

#include <wowlib/formats/m2/offset_block.hpp>

Concept definition

template<typename M>
concept InlineRecordMember = std::is_class_v<M> && !std::is_trivially_copyable_v<M> && !
A member serialized inline as a nested record: a non-trivial class the walker recurses into member-by...
A member serialized as an M2Array<char>: its bytes (NUL included) live in a data block,...
constexpr bool IsVectorV
Trait: is T a std::vector (an array-chunk member)?

Detailed Description

A member serialized inline as a nested record: a non-trivial class the walker recurses into member-by-member at the current cursor (M2Track and friends).

Trivially-copyable classes are raw scalars instead.

Definition at line 114 of file offset_block.hpp.