LibSWOC++ 1.5.14
Solid Wall of C++
Loading...
Searching...
No Matches
swoc::meta::vary< Args > Struct Template Reference

#include <swoc_meta.h>

Inheritance diagram for swoc::meta::vary< Args >:
Inheritance graph
Collaboration diagram for swoc::meta::vary< Args >:
Collaboration graph

Detailed Description

template<typename... Args>
struct swoc::meta::vary< Args >

Support for variable parameter lambdas.

Template Parameters
ArgsLambdas to combine.

This creates a class that has an overloaded function operator, with each overload corresponding to one of the provided lambdas. The original use case is with std::visit where this can be used to construct the visitor from a collection of lambdas.

Definition at line 168 of file swoc_meta.h.


The documentation for this struct was generated from the following file: