5.15.1. compound.hpp

Full path: graph_canon/visitor/compound.hpp

template<typename ...Visitors>
class compound_visitor

A visitor aggregating a list of given visitors, Visitors. Use make_visitor to easily create such compound visitors.

template<typename ...Visitors>
auto make_visitor(Visitors... visitors)

Before creation any given compound_visitor is inlined (recursively) such that the resulting compound_visitor contains only non-compound visitors.

Returns

a compound_visitor with all visitors contained in the given visitors list.