BloombergLP::bsls::AlignmentImpMatch::match

Overload for pointer type alignment matching.

Synopsis

Declared in <bsls_alignmentimp.h>

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

Description

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