|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70875 - trunk/libs/graph/doc
From: jewillco_at_[hidden]
Date: 2011-04-02 14:43:04
Author: jewillco
Date: 2011-04-02 14:43:03 EDT (Sat, 02 Apr 2011)
New Revision: 70875
URL: http://svn.boost.org/trac/boost/changeset/70875
Log:
Fixed types in bundled property docs; fixes #5410
Text files modified:
trunk/libs/graph/doc/bundles.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/libs/graph/doc/bundles.html
==============================================================================
--- trunk/libs/graph/doc/bundles.html (original)
+++ trunk/libs/graph/doc/bundles.html 2011-04-02 14:43:03 EDT (Sat, 02 Apr 2011)
@@ -143,7 +143,7 @@
map[v].zipcodes.push_back(12180);
Map::edge_descriptor e = *out_edges(v, map).first;
map[e].name = "I-87";
-map[e].miles = 10;
+map[e].miles = 10.;
map[e].speed_limit = 65;
map[e].lanes = 4;
map[e].divided = true;
@@ -186,8 +186,8 @@
get(vertex_index, map))));
</pre>
-<p>The type of the returned property map is <code>property_map<Map, int Highway::*>::type</code>
-or <code>property_map<Map, int Highway::*>::const_type</code>, depending on whether the graph
+<p>The type of the returned property map is <code>property_map<Map, double Highway::*>::type</code>
+or <code>property_map<Map, double Highway::*>::const_type</code>, depending on whether the graph
<code>map</code> is non-constant or constant.
<p> You may also access the entire vertex or edge bundle as a property map
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