[#mrdocs-Param-2constructor-03]
= xref:mrdocs.adoc[mrdocs]::xref:mrdocs/Param.adoc[Param]::Param
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;mrdocs&sol;Metadata&sol;Symbol&sol;Param&period;hpp&gt;`

Create an empty parameter with an `auto` type&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:mrdocs/Param/2constructor-0d.adoc[Param]() = default;
----

[.small]#xref:mrdocs/Param/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Construct a parameter with type, name, and default expression&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:mrdocs/Param/2constructor-00.adoc[Param](
    xref:mrdocs/Polymorphic.adoc[Polymorphic&lt;Type&gt;]&& type,
    std::string&& name,
    std::string&& def&lowbar;arg);
----

[.small]#xref:mrdocs/Param/2constructor-00.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *type*
| Parameter type&period;
| *name*
| Parameter identifier&period;
| *def&lowbar;arg*
| Default argument expression, if present&period;
|===


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