Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-04-16 20:27:30


Author: jurko
Date: 2008-04-16 20:27:30 EDT (Wed, 16 Apr 2008)
New Revision: 44481
URL: http://svn.boost.org/trac/boost/changeset/44481

Log:
Corrected the documentation related to installing new internal property types.
Text files modified:
   trunk/libs/graph/doc/using_adjacency_list.html | 23 +++++++++++------------
   1 files changed, 11 insertions(+), 12 deletions(-)

Modified: trunk/libs/graph/doc/using_adjacency_list.html
==============================================================================
--- trunk/libs/graph/doc/using_adjacency_list.html (original)
+++ trunk/libs/graph/doc/using_adjacency_list.html 2008-04-16 20:27:30 EDT (Wed, 16 Apr 2008)
@@ -470,27 +470,26 @@
 </PRE>
 
 <p>
-You can also use enum's instead of struct's to create tag types.
-Create an enum type for each property. The first part of the name of
-the enum type must be <tt>edge</tt>, <tt>vertex</tt>, or
-<tt>graph</tt> followed by an underscore, the new property name, and
-a <tt>_t</tt> at the
-end. Inside the enum, define a value with the same name minus the
-<tt>_t</tt>. Then invoke the <tt>BOOST_INSTALL_PROPERTY</tt> macro.
+You can also use enum's instead of struct's to create tag types. Create an enum
+type for each property inside the boost namespace. The first part of the name of
+the enum type must be <tt>edge</tt>, <tt>vertex</tt>, or <tt>graph</tt> followed
+by an underscore, the new property name, and a <tt>_t</tt> at the end. Inside
+the enum, define a value with the same name minus the <tt>_t</tt>. Then invoke
+the <tt>BOOST_INSTALL_PROPERTY</tt> macro.
 
 <pre>
-enum edge_flow_t { edge_flow };
-enum edge_capacity_t { edge_capacity };
-
 namespace boost {
+ enum edge_flow_t { edge_flow };
+ enum edge_capacity_t { edge_capacity };
+
   BOOST_INSTALL_PROPERTY(edge, flow);
   BOOST_INSTALL_PROPERTY(edge, capacity);
 }
 </pre>
 
 <P>
-Now you can use your new property tag in the definition of properties
-just as you would one of the builtin tags.
+Now you can use your new property tag in the definition of properties just as
+you would one of the builtin tags.
 
 <P>
 <PRE>


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