identity_property_mapThis property map applies the identity function, that is, it just returns a copy of the key object that was input.
Type | Description |
---|---|
boost::property_traits<identity_property_map>::value_type | This type is std::size_t; the map functions are templated. |
boost::property_traits<identity_property_map>::key_type | This type is std::size_t; the map functions are templated. |
boost::property_traits<identity_property_map>::category | This type is boost::readable_op_bracket_tag. |
Member | Description |
---|---|
identity_property_map() | Default constructor. |
identity_property_map(const identity_property_map& x) | Copy constructor. |
template <class T> T operator[](T x) const |
Returns a copy of object x. |
Member | Description |
---|---|
template <class T> T get(const identity_property_map& pmap, T x) |
Returns a copy of object x. |
Copyright © 2000 |
Jeremy Siek,
Univ.of Notre Dame (jsiek@lsc.nd.edu) Lie-Quan Lee, Univ.of Notre Dame (llee1@lsc.nd.edu) Andrew Lumsdaine, Univ.of Notre Dame (lums@lsc.nd.edu) |