Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77454 - trunk/libs/property_map/doc
From: jewillco_at_[hidden]
Date: 2012-03-21 09:27:14


Author: jewillco
Date: 2012-03-21 09:27:14 EDT (Wed, 21 Mar 2012)
New Revision: 77454
URL: http://svn.boost.org/trac/boost/changeset/77454

Log:
Added reference trait to documentation; fixes #6721
Text files modified:
   trunk/libs/property_map/doc/property_map.html | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/libs/property_map/doc/property_map.html
==============================================================================
--- trunk/libs/property_map/doc/property_map.html (original)
+++ trunk/libs/property_map/doc/property_map.html 2012-03-21 09:27:14 EDT (Wed, 21 Mar 2012)
@@ -245,6 +245,7 @@
   struct property_traits {
      typedef typename PropertyMap::key_type key_type;
      typedef typename PropertyMap::value_type value_type;
+ typedef typename PropertyMap::reference reference;
      typedef typename PropertyMap::category category;
   };
 
@@ -268,6 +269,7 @@
   template <typename T>
   struct property_traits<T*> {
     typedef T value_type;
+ typedef T& reference;
     typedef std::ptrdiff_t key_type;
     typedef random_access_iterator_pa_tag category;
   };


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