BloombergLP::bsls::AlignmentImp_Priority

This struct provides a unique type that can be used as a trailing function parameter for overloaded functions having otherwise identical parameters. The highest-priority overloaded function can be selected by calling it with a high-priority argument. Note that "highest priority" means the largest VALUE in this case.

Synopsis

Declared in <bsls_alignmentimp.h>

template<int VALUE>
struct AlignmentImp_Priority
    : AlignmentImp_Priority<VALUE - 1>

Base Classes

NameDescription
AlignmentImp_Priority<VALUE - 1>This struct provides a unique type that can be used as a trailing function parameter for overloaded functions having otherwise identical parameters. The highest-priority overloaded function can be selected by calling it with a high-priority argument. Note that "highest priority" means the largest VALUE in this case.

Specializations

NameDescription
AlignmentImp_Priority<1> Specialization of AlignmentImp_Priority to terminate template instantiation.

Derived Classes

NameDescription
AlignmentImp_Priority This struct provides a unique type that can be used as a trailing function parameter for overloaded functions having otherwise identical parameters. The highest-priority overloaded function can be selected by calling it with a high-priority argument. Note that "highest priority" means the largest VALUE in this case.