BloombergLP::bsls::AlignmentImpMatch::match

Overload for bool type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

static
bsls::AlignmentImpTag<7>
match(
    bsls::AlignmentImpCalc<bool>::Tag alignmentTag,
    bsls::AlignmentImpTag<static_cast<int>(sizeof(bool))> sizeTag,
    bsls::AlignmentImp_Priority<7> priority);

Description

Matches a type with the size and alignment of bool and returns a tag whose size is this overload's priority.

Return Value

tag whose size is this overload's priority

Parameters

NameDescription
alignmentTagtag encoding the alignment of bool
sizeTagtag encoding sizeof(bool)
prioritytag encoding this overload's selection priority