BloombergLP::bdlb::Variant_TypeIndex

Component-private meta-function. Do not use. This meta-function computes the index of the template parameter TYPE in the template parameter list of TYPES.

Synopsis

Declared in <bdlb_variant.h>

template<
    class TYPES,
    class TYPE>
struct Variant_TypeIndex;

Enums

NameDescription
Unnamed enum Compile-time index of TYPE within TYPES, or 0 if not found.