[#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: == Synopsis Declared in `<absl/functional/overload.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr explicit Overload(T... ts); ---- == Description absl::Overload(lambda_1, lambda_2) This works automatically in C++20 because we have support for parenthesized aggregate initialization. Before then we must provide a constructor that makes this work. == Parameters [cols="1,4"] |=== | Name| Description | *ts* | The functors to combine into a single overload set. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#