$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r84404 - trunk/boost/property_map
From: jewillco_at_[hidden]
Date: 2013-05-21 14:43:27
Author: jewillco
Date: 2013-05-21 14:43:26 EDT (Tue, 21 May 2013)
New Revision: 84404
URL: http://svn.boost.org/trac/boost/changeset/84404
Log:
Allowed chaining of const dynamic_properties objects
Text files modified: 
   trunk/boost/property_map/dynamic_property_map.hpp |     9 +++++++++                               
   1 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/boost/property_map/dynamic_property_map.hpp
==============================================================================
--- trunk/boost/property_map/dynamic_property_map.hpp	(original)
+++ trunk/boost/property_map/dynamic_property_map.hpp	2013-05-21 14:43:26 EDT (Tue, 21 May 2013)
@@ -234,6 +234,15 @@
     return *this;
   }
 
+  template<typename PropertyMap>
+  dynamic_properties
+  property(const std::string& name, PropertyMap property_map_) const
+  {
+    dynamic_properties result = *this;
+    result.property(name, property_map_);
+    return result;
+  }
+
   iterator       begin()       { return property_maps.begin(); }
   const_iterator begin() const { return property_maps.begin(); }
   iterator       end()         { return property_maps.end(); }