when_t< Fn, Args > Struct Template Reference
Wraps a functor such that it has a fixed argument list. More...
#include <atria/variant/visitor.hpp>
Public Types | |
using | result_type = typename std::result_of< Fn(Args...)>::type |
Public Member Functions | |
when_t (Fn &&fn) | |
result_type | operator() (Args &&...args) |
Detailed Description
template<typename Fn, typename... Args>
struct atria::variant::when_t< Fn, Args >
Wraps a functor such that it has a fixed argument list.
Can be use to disambiguate cases of a variant visitor.
Definition at line 165 of file visitor.hpp.
The documentation for this struct was generated from the following file:
- src/atria/variant/visitor.hpp