#include <stl.h>
Static Public Member Functions | |
template<typename... Args> | |
static auto | call (Args &&...args) -> decltype(visit(std::forward< Args >(args)...)) |
Helper class which abstracts away variant's visit
function. std::variant
and similar namespace::variant
types which provide a namespace::visit()
function are handled here automatically using argument-dependent lookup. Users can provide specializations for other variant-like classes, e.g. boost::variant
and boost::apply_visitor
.
|
inlinestatic |