2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-27 17:12:11 +00:00

Fixed spelling

[SVN r64016]
This commit is contained in:
Jeremiah Willcock
2010-07-14 18:47:16 +00:00
parent 57cb8046b1
commit 954b8066bc

View File

@@ -503,6 +503,8 @@ namespace boost {
return Filter(g, keep_all(), p);
}
// This is misspelled, but present for backwards compatibility; new code
// should use the version below that has the correct spelling.
template <typename Graph, typename Set>
struct vertex_subset_compliment_filter {
typedef filtered_graph<Graph, keep_all, is_not_in_subset<Set> > type;
@@ -515,6 +517,18 @@ namespace boost {
return Filter(g, keep_all(), p);
}
template <typename Graph, typename Set>
struct vertex_subset_complement_filter {
typedef filtered_graph<Graph, keep_all, is_not_in_subset<Set> > type;
};
template <typename Graph, typename Set>
inline typename vertex_subset_complement_filter<Graph, Set>::type
make_vertex_subset_complement_filter(Graph& g, const Set& s) {
typedef typename vertex_subset_complement_filter<Graph, Set>::type Filter;
is_not_in_subset<Set> p(s);
return Filter(g, keep_all(), p);
}
// Filter that uses a property map whose value_type is a boolean
template <typename PropertyMap>
struct property_map_filter {