From 954b8066bcf3ec21fcbd90f12e3a7aa8a5f096ec Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Wed, 14 Jul 2010 18:47:16 +0000 Subject: [PATCH] Fixed spelling [SVN r64016] --- include/boost/graph/filtered_graph.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/boost/graph/filtered_graph.hpp b/include/boost/graph/filtered_graph.hpp index 43461410..59ecb8b5 100644 --- a/include/boost/graph/filtered_graph.hpp +++ b/include/boost/graph/filtered_graph.hpp @@ -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 struct vertex_subset_compliment_filter { typedef filtered_graph > type; @@ -515,6 +517,18 @@ namespace boost { return Filter(g, keep_all(), p); } + template + struct vertex_subset_complement_filter { + typedef filtered_graph > type; + }; + template + inline typename vertex_subset_complement_filter::type + make_vertex_subset_complement_filter(Graph& g, const Set& s) { + typedef typename vertex_subset_complement_filter::type Filter; + is_not_in_subset p(s); + return Filter(g, keep_all(), p); + } + // Filter that uses a property map whose value_type is a boolean template struct property_map_filter {