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

WDT version conversion (namespace wowlib::formats): the WDT'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< wdt::WDT > = wdt::WdtVersions
 The WDT's supported-version ladder: every targeted last-minor-of-major release, in release order (see wdt::WdtVersions).
template<>
constexpr auto wowlib::formats::SupportedVersions< wdt::detail::WDT > = wdt::WdtVersions
 The same ladder keyed on the detail template: convert() DEDUCES the family from an entity reference, and deduction sees wdt::detail::WDT — an alias template is not identity-equal to its target for template-template matching.
template<>
constexpr auto wowlib::formats::VersionPivots< wdt::WDT > = wdt::WdtAssemblyPivots
 The assembly's canonicalization pivots (both spellings, as above).
template<>
constexpr auto wowlib::formats::VersionPivots< wdt::detail::WDT > = wdt::WdtAssemblyPivots

Detailed Description

WDT version conversion (namespace wowlib::formats): the WDT'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 wdt.hpp) wherever you convert a WDT across versions or query the ladder (hasConvertPath / convert).

Definition in file convert.hpp.