[#Serialize-0a6]
= Serialize
:mrdocs:

Serialize the object pointed to by a unique&lowbar;ptr&period;

== Synopsis

Declared in `&lt;serialize&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename Stream,
    typename T&gt;
void
Serialize(
    Stream& os,
    std::unique&lowbar;ptr&lt;T const&gt; const& p);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *os*
| The output stream&period;
| *p*
| The unique pointer whose pointee is serialized&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
