[#mp_units-utility-parse_dynamic_spec]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/utility.adoc[utility]::parse&lowbar;dynamic&lowbar;spec
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;utility&sol;format&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    std::forward&lowbar;iterator It,
    typename Char = std::iter&lowbar;value&lowbar;t&lt;It&gt;&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
It
parse&lowbar;dynamic&lowbar;spec(
    It begin,
    It end,
    int& value,
    xref:mp_units/utility/fmt_arg_ref.adoc[fmt&lowbar;arg&lowbar;ref&lt;Char&gt;]& ref,
    std::basic&lowbar;format&lowbar;parse&lowbar;context&lt;Char&gt;& ctx);
----

== Return Value

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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