BloombergLP::bsls::AlignmentImpMatch::match

Overload for char type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

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