[#BloombergLP-bslstl-Function_Variadic-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Function&lowbar;Variadic
:relfileprefix: ../../
:mrdocs:

This component&hyphen;private class template contains the physical representation and provides the variadic interfaces for `bsl&colon;&colon;function`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;function&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class PROTOTYPE&gt;
class Function&lowbar;Variadic;
----

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Function_Variadic-08.adoc[`Function&lowbar;Variadic&lt;RET(ARGS&period;&period;&period;)&gt;`] 
| This component&hyphen;private class template contains the physical representation and provides the variadic interfaces for `bsl&colon;&colon;function` (see class and component documentation for `bsl&colon;&colon;function`)&period; `bsl&colon;&colon;function` publicly inherits from an instantiation of this template&period; This implementation class exists to 1) minimize the amount of variadic template expansion required in C&plus;&plus;03 using the `sim&lowbar;cpp11&lowbar;features&period;pl` utility and 2) work around issues with the Sun CC compiler, which has trouble with argument type deduction when a template argument has a partial specialization (as `Function&lowbar;Variadic` does)&period; `bsl&colon;&colon;function` does not have a partial specialization and delegates to the `Function&lowbar;Variadic` base class only those parts of the interface and implementation that depend on decomposing the function prototype into a return type and variadic list of argument types&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:bsl/function-0a.adoc[`function`] 
| Forward declaration&period;
|===


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