Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shambase::overloaded< Ts > Struct Template Reference

Build an overload set out of several callables, for use with std::visit. More...

#include <shambase/include/shambase/overloaded.hpp>

Inheritance diagram for shambase::overloaded< Ts >:
Collaboration diagram for shambase::overloaded< Ts >:

Detailed Description

template<class... Ts>
struct shambase::overloaded< Ts >

Build an overload set out of several callables, for use with std::visit.

Usage :

[](const AltA &a) { ... },
[](const AltB &b) { ... },
}, variant);
Build an overload set out of several callables, for use with std::visit.
Template Parameters
Tsthe callable types (deduced)

Definition at line 35 of file overloaded.hpp.


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