|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49179 - in trunk/boost: graph pending
From: dgregor_at_[hidden]
Date: 2008-10-08 11:05:34
Author: dgregor
Date: 2008-10-08 11:05:33 EDT (Wed, 08 Oct 2008)
New Revision: 49179
URL: http://svn.boost.org/trac/boost/changeset/49179
Log:
Minor fixes for named graph changes
Text files modified:
trunk/boost/graph/named_graph.hpp | 2 ++
trunk/boost/pending/property.hpp | 6 ++++++
2 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/graph/named_graph.hpp
==============================================================================
--- trunk/boost/graph/named_graph.hpp (original)
+++ trunk/boost/graph/named_graph.hpp 2008-10-08 11:05:33 EDT (Wed, 08 Oct 2008)
@@ -17,6 +17,8 @@
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/optional.hpp>
+#include <boost/throw_exception.hpp>
+#include <stdexcept> // for std::runtime_error
namespace boost { namespace graph {
Modified: trunk/boost/pending/property.hpp
==============================================================================
--- trunk/boost/pending/property.hpp (original)
+++ trunk/boost/pending/property.hpp 2008-10-08 11:05:33 EDT (Wed, 08 Oct 2008)
@@ -75,6 +75,12 @@
#endif
};
+ template <class Tag2>
+ inline detail::error_property_not_found
+ get_property_value(const no_property& p, Tag2) {
+ return detail::error_property_not_found();
+ }
+
template <class Tag1, class Tag2, class T1, class Base>
inline typename property_value<property<Tag1,T1,Base>, Tag2>::type&
get_property_value(property<Tag1,T1,Base>& p, Tag2 tag2) {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk