BloombergLP::bsls::AlignmentImpMatch::match

Overload for long type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

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