$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r77440 - sandbox-branches/birbacher/propertymap-functormap/boost/property_map
From: frank.birbacher_at_[hidden]
Date: 2012-03-20 17:54:51
Author: birbacher
Date: 2012-03-20 17:54:51 EDT (Tue, 20 Mar 2012)
New Revision: 77440
URL: http://svn.boost.org/trac/boost/changeset/77440
Log:
Empty skeleton for functor_property_map.
Text files modified: 
   sandbox-branches/birbacher/propertymap-functormap/boost/property_map/functor_property_map.hpp |    40 ++++++++++++++++++++++++++++++++++++++++
   1 files changed, 40 insertions(+), 0 deletions(-)
Modified: sandbox-branches/birbacher/propertymap-functormap/boost/property_map/functor_property_map.hpp
==============================================================================
--- sandbox-branches/birbacher/propertymap-functormap/boost/property_map/functor_property_map.hpp	(original)
+++ sandbox-branches/birbacher/propertymap-functormap/boost/property_map/functor_property_map.hpp	2012-03-20 17:54:51 EDT (Tue, 20 Mar 2012)
@@ -0,0 +1,40 @@
+//  (C) Copyright Frank Birbacher 2012.
+//  Authors: Frank Birbacher
+
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+//  See http://www.boost.org/libs/property_map for documentation.
+
+#ifndef BOOST_FUNCTOR_PROPERTY_MAP_HPP
+#define BOOST_FUNCTOR_PROPERTY_MAP_HPP
+
+#include <boost/property_map/property_map.hpp>
+
+namespace boost {
+
+  //=========================================================================
+  // Adapter to turn a functor into a property map
+
+  template <class Functor, 
+    class Arg
+     >
+  class functor_property_map
+  {
+    /* to be done */
+  };
+
+  template <class Functor, class Arg>
+  inline iterator_property_map<Functor, Arg>
+  make_functor_property_map(Functor f) {
+    /* to be done */
+    //function_requires< ? >();
+    typedef iterator_property_map<Functor, Arg> PA;
+    return PA(f);
+  }
+
+} // namespace boost
+
+#endif /* BOOST_FUNCTOR_PROPERTY_MAP_HPP */
+