[#CheckVarIntMode]
= CheckVarIntMode
:mrdocs:

Compile&hyphen;time check that a VarInt mode and integer type are compatible&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    xref:VarIntMode.adoc[VarIntMode] Mode,
    typename I&gt;
struct CheckVarIntMode;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CheckVarIntMode/2constructor.adoc[`CheckVarIntMode`]         [.small]#[constructor]#
| Assert that the integer type matches the requirements of the VarInt mode&period;
|===



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