[#BloombergLP-bslfmt-MockParseContext-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/MockParseContext.adoc[MockParseContext]::MockParseContext
:relfileprefix: ../../../
:mrdocs:

Create a mock parse context for the specified format string and argument count&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;mockparsecontext&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
MockParseContext(
    bsl::basic&lowbar;string&lowbar;view&lt;t&lowbar;CHAR&gt; fmt,
    size&lowbar;t numArgs = 0) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *fmt*
| format string to parse
| *numArgs*
| number of formatting arguments
|===


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