This documentation is being rewritten. If something looks off, please cross-check with the Boost 1.91.0 Boost.Graph docs and open an issue.

null_visitor

A no-op event visitor that does nothing. Used as a placeholder or default when combining event visitors and one slot is not needed.

Defined in: <boost/graph/visitors.hpp>
Models: EventVisitor

Synopsis

struct null_visitor {
    using event_filter = void;

    template <typename X, typename Graph>
    void operator()(X, const Graph&) {}
};