BloombergLP::bsls::AlignmentImpMatch::match

Overload for double type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

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