5.15.1. compound.hpp¶
Full path: graph_canon/visitor/compound.hpp
-
template<typename ...
Visitors
>
classcompound_visitor
¶ A visitor aggregating a list of given visitors,
Visitors
. Usemake_visitor
to easily create such compound visitors.
-
template<typename ...
Visitors
>
automake_visitor
(Visitors... visitors)¶ Before creation any given
compound_visitor
is inlined (recursively) such that the resultingcompound_visitor
contains only non-compound visitors.- Returns
a
compound_visitor
with all visitors contained in the givenvisitors
list.