BloombergLP::bsls::AlignmentImpMatch::match

Overload for int type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

Matches a type with the size and alignment of int 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 int
sizeTagtag encoding sizeof(int)
prioritytag encoding this overload's selection priority