Template Function vertices

Function Documentation

template<typename TBGLGraphType>
static inline auto vertices(const TBGLGraphType &g) -> decltype(boost::vertices(std::declval<const TBGLGraphType>()))

Get the vertices in the specified graph, as an iterator range.

Note

We can’t use boost::make_iterator_range here, because that doesn’t work with filtered_graph types, for whatever reason.