[#BSLMF_METAINT_TO_INT]
= BSLMF&lowbar;METAINT&lowbar;TO&lowbar;INT
:mrdocs:

Extract the compile&hyphen;time integer value from a `MetaInt` expression&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;metaint&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLMF&lowbar;METAINT&lowbar;TO&lowbar;INT(expr)

----

== Description

Given an integral value, `V`, and an expression, `expr`, of type `bslmf&colon;&colon;MetaInt&lt;V&gt;`, this macro returns a compile&hyphen;time constant with value, `V`&period; The expression, `expr`, is not evaluated at run&hyphen;time&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *expr*
| `MetaInt` expression whose compile&hyphen;time value is extracted
|===


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