kblib 0.2.3
General utilities library for modern C++
kblib::visitor< Ts > Struct Template Reference

Helper class for std::visiting a std::variant. More...

#include <kblib/variant.h>

Inheritance diagram for kblib::visitor< Ts >:
Collaboration diagram for kblib::visitor< Ts >:

Detailed Description

template<typename... Ts>
struct kblib::visitor< Ts >

Helper class for std::visiting a std::variant.

When constructed from a set of lambdas or functors, corrals all of them into a single overload set, suitable for std::visit.

Definition at line 102 of file variant.h.


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