[Boost-bugs] [Boost C++ Libraries] #6721: property_map_traits documentation does not mention reference

Subject: [Boost-bugs] [Boost C++ Libraries] #6721: property_map_traits documentation does not mention reference
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-21 12:08:58


#6721: property_map_traits documentation does not mention reference
-------------------------------------------------+--------------------------
 Reporter: philipp.moeller@… | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_map
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: property_map |
-------------------------------------------------+--------------------------
 The documentation shows property_map_traits as:

 namespace boost {
   template <typename PropertyMap>
   struct property_traits {
      typedef typename PropertyMap::key_type key_type;
      typedef typename PropertyMap::value_type value_type;
      typedef typename PropertyMap::category category;
   };
 }

 but the implementation also requires

     typedef typename PropertyMap::reference reference;

 to be defined.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6721>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC