[#absl-Overload-05-2constructor]
= xref:absl.adoc[absl]::xref:absl/Overload-05.adoc[Overload]::Overload
:relfileprefix: ../../
:mrdocs:

For historical reasons we want to support use that looks like a function call&colon;

== Synopsis

Declared in `&lt;absl&sol;functional&sol;overload&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
Overload(T&period;&period;&period; ts);
----

== Description

absl&colon;&colon;Overload(lambda&lowbar;1, lambda&lowbar;2)

This works automatically in C&plus;&plus;20 because we have support for parenthesized aggregate initialization&period; Before then we must provide a constructor that makes this work&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ts*
| The functors to combine into a single overload set&period;
|===


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