Identity Property Map

##

    identity_property_map

This property map applies the identity function, that is, it just returns a copy of the key object that was input.

### Where Defined

`boost/property_map.hpp`

### Model of

Readable Property Map

### Associated Types

Type | Description
--- | ---
`boost::property_traits<identity_property_map>::value_type` | This type is `void`; the map functions are templated.
`boost::property_traits<identity_property_map>::key_type` | This type is `void`; the map functions are templated.
`boost::property_traits<identity_property_map>::category` | This type is `boost::readable_op_bracket_tag`.

### Member Functions

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`.

### Non-Member Functions

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)