Circus 0.0.1-alpha
C++ Serialization Framework
Loading...
Searching...
No Matches
visitor.hpp
1#pragma once
2
3namespace circus {
4namespace internal {
5
14template <typename... fs>
15struct visitor : fs... {
16 using fs::operator()...;
17};
18
25template <typename... fs>
26visitor(fs...) -> visitor<fs...>;
27
28} // namespace internal
29} // namespace circus
Helper struct to combine multiple callable objects into a single visitor.
Definition visitor.hpp:15