Opened 11 years ago

Closed 11 years ago

#6721 closed Bugs (fixed)

property_map_traits documentation does not mention reference

Reported by: philipp.moeller@… Owned by: Douglas Gregor
Milestone: To Be Determined Component: property_map
Version: Boost 1.49.0 Severity: Problem
Keywords: property_map Cc:

Description

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.

Change History (1)

comment:1 by Jeremiah Willcock, 11 years ago

Resolution: fixed
Status: newclosed

(In [77454]) Added reference trait to documentation; fixes #6721

Note: See TracTickets for help on using tickets.