BloombergLP::bsls::AlignmentImpMatch::match

Overload for float type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

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