BloombergLP::bsls::AlignmentImpMatch::match

Overload for short type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

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