mrdocs::mapReflectedType

Map all described members without converting values.

Synopsis

template<
    bool isMostDerived,
    typename IO,
    typename T>
requires describe::has_describe_members<T>::value
void
mapReflectedType(
    IO& io,
    T const& obj);

Description

This version passes raw member values to io.map(), letting the IO object handle conversion with its stored context.

Template Parameters

Name

Description

isMostDerived

Whether this is the most‐derived type (adds $meta if true).

Parameters

Name

Description

io

The IO object to use for mapping.

obj

The object to be mapped.

Created with MrDocs