wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
convert.hpp File Reference

ADT version conversion (namespace wowlib::formats): the ADT's contribution to the generic convert<to>() ladder (formats/convert.hpp) — its SupportedVersions list and, as they are written, the adjacent-version convert_step overloads. More...

Include dependency graph for convert.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  wowlib
namespace  wowlib::formats

Variables

template<>
constexpr auto wowlib::formats::SupportedVersions< adt::ADT > = adt::AdtVersions
 The ADT's supported-version ladder: every targeted last-minor-of-major release, in release order (see adt::AdtVersions).
template<>
constexpr auto wowlib::formats::SupportedVersions< adt::detail::ADT > = adt::AdtVersions
 The same ladder keyed on the detail template: convert() DEDUCES the family from an entity reference, and deduction sees adt::detail::ADT (an alias template is not identity-equal to its target for template-template match).
template<>
constexpr auto wowlib::formats::VersionPivots< adt::ADT > = adt::AdtPivots
 The assembly's canonicalization pivots (both spellings, as above).
template<>
constexpr auto wowlib::formats::VersionPivots< adt::detail::ADT > = adt::AdtPivots

Detailed Description

ADT version conversion (namespace wowlib::formats): the ADT's contribution to the generic convert<to>() ladder (formats/convert.hpp) — its SupportedVersions list and, as they are written, the adjacent-version convert_step overloads.

Include this (rather than adt.hpp) wherever you convert an ADT across versions or query the ladder.

Definition in file convert.hpp.