[#BloombergLP-bsls-AlignmentImpMatch-match-0ad]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/AlignmentImpMatch.adoc[AlignmentImpMatch]::match
:relfileprefix: ../../../
:mrdocs:

`match` overloads

== Synopses

Declared in `&lt;bsls&lowbar;alignmentimp&period;h&gt;`

Overload for `bool` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;7&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-0e6.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;bool&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(bool))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;7&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-0e6.adoc[_» more&period;&period;&period;_]#

Overload for `char` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;12&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-05b.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;char&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(char))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;12&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-05b.adoc[_» more&period;&period;&period;_]#

Overload for `double` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;2&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-0e7.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;double&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(double))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;2&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-0e7.adoc[_» more&period;&period;&period;_]#

Overload for `float` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;3&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-04.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;float&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(float))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;3&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-04.adoc[_» more&period;&period;&period;_]#

Overload for `int` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;10&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-07.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;int&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(int))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;10&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-07.adoc[_» more&period;&period;&period;_]#

Overload for `long` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;9&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-03.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;long&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(long))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;9&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-03.adoc[_» more&period;&period;&period;_]#

Overload for `long double` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;1&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-0b.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;long double&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(long double))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-01.adoc[bsls::AlignmentImp&lowbar;Priority&lt;1&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-0b.adoc[_» more&period;&period;&period;_]#

Overload for `long long` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;8&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-0af.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;long long&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(long long))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;8&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-0af.adoc[_» more&period;&period;&period;_]#

Overload for `short` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;11&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-056.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;short&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(short))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;11&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-056.adoc[_» more&period;&period;&period;_]#

Overload for `wchar&lowbar;t` type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;6&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-0f.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;wchar&lowbar;t&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(wchar&lowbar;t))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;6&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-0f.adoc[_» more&period;&period;&period;_]#

Overload for pointer type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;5&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-0e0.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;void*&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(void &ast;))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;5&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-0e0.adoc[_» more&period;&period;&period;_]#

Overload for function pointer type alignment matching&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;4&gt;]
xref:BloombergLP/bsls/AlignmentImpMatch/match-05c.adoc[match](
    xref:BloombergLP/bsls/AlignmentImpCalc-098.adoc[bsls::AlignmentImpCalc&lt;void(*)()&gt;::Tag] alignmentTag,
    xref:BloombergLP/bsls/AlignmentImpTag.adoc[bsls::AlignmentImpTag&lt;static&lowbar;cast&lt;int&gt;(sizeof(void (&ast;)()))&gt;] sizeTag,
    xref:BloombergLP/bsls/AlignmentImp_Priority-0e.adoc[bsls::AlignmentImp&lowbar;Priority&lt;4&gt;] priority);
----

[.small]#xref:BloombergLP/bsls/AlignmentImpMatch/match-05c.adoc[_» more&period;&period;&period;_]#

== Return Value

tag whose size is this overload&apos;s priority

== Parameters

[cols="1,4"]
|===
| Name| Description
| *alignmentTag*
| tag encoding the alignment of `bool`
| *sizeTag*
| tag encoding `sizeof(bool)`
| *priority*
| tag encoding this overload&apos;s selection priority
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
