[#BloombergLP-bslmf-MetaInt-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/MetaInt-07.adoc[MetaInt]&lt;1&gt;
:relfileprefix: ../../
:mrdocs:

This specialization of `MetaInt` has a `VAL` of one and is convertible to and from `bsl&colon;&colon;true&lowbar;type`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct xref:BloombergLP/bslmf/MetaInt-07.adoc[MetaInt]&lt;1&gt;
    : xref:bsl/true_type.adoc[bsl::true&lowbar;type]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/true_type.adoc[bsl::true&lowbar;type]`
| Metafunction representing the boolean constant `true`&period;
|===

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/MetaInt-0b/Tag-0d.adoc[`Tag`] 
| Tag type encoding `1` for overload resolution&period;
| xref:BloombergLP/bslmf/MetaInt-0b/Type.adoc[`Type`] 
| This specialization of `MetaInt`&period;
|===


== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/MetaInt-0b/_04enum.adoc[`Unnamed enum`] 
| Compile&hyphen;time integer constants for this metafunction&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/MetaInt-0b/2constructor-07.adoc[`MetaInt`]         [.small]#[constructor]#
| Does nothing (`MetaInt` is stateless)&period;
| xref:BloombergLP/bslmf/MetaInt-0b/2constructor-04.adoc[`MetaInt`]         [.small]#[constructor]#
| Convert from a `bsl&colon;&colon;true&lowbar;type`&period;
| xref:BloombergLP/bslmf/MetaInt-0b/2conversion.adoc[`operator bool`] 
| Return `true`&period; (This operator is conversion operator to `bool`&period;)
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/MetaInt-0b/tag-01.adoc[`tag`] 
| Return a reference to a tag encoding this type&apos;s integral value&period;
|===



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