$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r64016 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-07-14 14:47:18
Author: jewillco
Date: 2010-07-14 14:47:16 EDT (Wed, 14 Jul 2010)
New Revision: 64016
URL: http://svn.boost.org/trac/boost/changeset/64016
Log:
Fixed spelling
Text files modified: 
   trunk/boost/graph/filtered_graph.hpp |    14 ++++++++++++++                          
   1 files changed, 14 insertions(+), 0 deletions(-)
Modified: trunk/boost/graph/filtered_graph.hpp
==============================================================================
--- trunk/boost/graph/filtered_graph.hpp	(original)
+++ trunk/boost/graph/filtered_graph.hpp	2010-07-14 14:47:16 EDT (Wed, 14 Jul 2010)
@@ -503,6 +503,8 @@
     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 @@
     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 {