Invoke the write callback during serialization.

Synopsis

Declared in <serialize.h>

template<
    typename Stream,
    typename Type,
    typename Fn>
static
void
SerWrite(
    Stream& s,
    Type&& obj,
    Fn&& fn);

Parameters

Name

Description

s

The output stream.

obj

The object the write action targets.

fn

The write callback to invoke.

Created with MrDocs