CGAL 5.2.1 - CGAL and Boost Property Maps
CGAL::Dereference_property_map< T > Struct Template Reference

#include <CGAL/property_map.h>

Inherits from

put_get_helper< T &, Dereference_property_map< T > >.

Definition

Property map that converts a T* pointer (or in general an iterator over T elements) to the T object.

Is Model Of:
LvaluePropertyMap

Public Types

typedef T * key_type
 typedef to 'T*'
 
typedef T value_type
 typedef to 'T'
 
typedef boost::lvalue_property_map_tag category
 boost::lvalue_property_map_tag
 

Public Member Functions

template<class Iter >
value_typeoperator[] (Iter it) const
 Access a property map element. More...
 

Public Attributes

const typedef value_typereference
 typedef to 'T&'
 

Related Functions

(Note that these are not member functions.)

template<class Iter >
Dereference_property_map< typename CGAL::value_type_traits< Iter >::type > make_dereference_property_map (Iter)
 Free function to create a Dereference_property_map property map.
 

Member Function Documentation

◆ operator[]()

template<typename T >
template<class Iter >
value_type& CGAL::Dereference_property_map< T >::operator[] ( Iter  it) const

Access a property map element.

Template Parameters
IterType convertible to key_type.