# `property<PropertyTag, T, NextProperty>`

This class can be used with the `adjacency_list` and the `adjacency_matrix` classes to specify what kind of properties should be attached to the vertices and edges of the graph, and to the graph object itself.

### Template Parameters

Parameter | Description | Default
--- | --- | ---
`PropertyTag` | A type to identify (give a unique name to) the property. There are several predefined tags, and it is easy to add more. For convenience, BGL also provides predefined objects of the tag types (enum values) for use as arguments to functions that expect property tag objects (such as `adjacency_list`'s property map accessor functions). |
`T` | This type specifies the type of the property values. |
`NextProperty` | This parameter allows `property` types to be nested, so that an arbitrary number of properties can be attached to the same graph. | `no_property`

### Where Defined

`boost/pending/property.hpp`

### Property Tags

The following property tags are defined in `boost/graph/properties.hpp`.

      namespace boost {
        enum edge_name_t { edge_name };
        enum edge_weight_t { edge_weight };
        enum edge_index_t { edge_index };
        enum edge_capacity_t { edge_capacity };
        enum edge_residual_capacity_t { edge_residual_capacity };
        enum edge_reverse_t { edge_reverse };
        enum vertex_name_t { vertex_name };
        enum vertex_distance_t { vertex_distance };
        enum vertex_index_t { vertex_index };
        enum vertex_color_t { vertex_color };
        enum vertex_degree_t { vertex_degree };
        enum vertex_out_degree_t { vertex_out_degree };
        enum vertex_in_degree_t { vertex_in_degree };
        enum vertex_discover_time_t { vertex_discover_time };
        enum vertex_finish_time_t { vertex_finish_time };
        enum graph_name_t { graph_name };

        BOOST_INSTALL_PROPERTY(vertex, index);
        BOOST_INSTALL_PROPERTY(edge, index);
        // ...
      }