BloombergLP::bslmf::MetaInt<0>

This specialization of MetaInt has a VAL of zero and is convertible to and from bsl::false_type.

Synopsis

Declared in <bslmf_metaint.h>

template<>
struct MetaInt<0>
    : bsl::false_type

Base Classes

NameDescription
bsl::false_typeMetafunction representing the boolean constant false.

Type Aliases

NameDescription
Tag Tag type encoding 0 for overload resolution.
Type This specialization of MetaInt.

Enums

NameDescription
Unnamed enum Compile-time integer constants for this metafunction.

Member Functions

NameDescription
MetaInt [constructor]Does nothing (MetaInt is stateless).
MetaInt [constructor]Convert from a bsl::false_type.
operator bool Return false. (This operator is conversion operator to bool.)

Static Member Functions

NameDescription
tag Return a reference to a tag encoding this type's integral value.