[#AsBase-0a0] = AsBase :mrdocs: `AsBase` overloads == Synopses Declared in `<serialize.h>` Convert any argument to a reference to X, maintaining constness. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class Out, class In> Out& xref:AsBase-0af.adoc[AsBase](In& x); ---- [.small]#xref:AsBase-0af.adoc[_» more..._]# Convert any argument to a const reference to X, maintaining constness. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class Out, class In> Out const& xref:AsBase-01.adoc[AsBase](In const& x); ---- [.small]#xref:AsBase-01.adoc[_» more..._]# == Return Value * A reference to x typed as the base class Out. * A const reference to x typed as the base class Out. == Parameters [cols="1,4"] |=== | Name| Description | *x* | The derived object to view as its base class. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#