CGAL 6.2 - CGAL and Boost Property Maps
Loading...
Searching...
No Matches
CGAL::Pointer_property_map< T > Struct Template Reference

#include <CGAL/property_map.h>

Definition

template<class T>
struct CGAL::Pointer_property_map< T >

Utility class providing shortcuts to property maps based on raw pointers.

Public Types

typedef boost::iterator_property_map< T *, boost::typed_identity_property_map< std::size_t >, T, T & > type
 mutable LvaluePropertyMap
 
typedef boost::iterator_property_map< const T *, boost::typed_identity_property_map< std::size_t >, T, const T & > const_type
 non-mutable LvaluePropertyMap
 

Related Functions

(Note that these are not member functions.)

template<class T >
Pointer_property_map< T >::type make_property_map (T *pointer)
 Starting from boost 1.55, the use of raw pointers as property maps has been deprecated.
 
template<class T >
Pointer_property_map< T >::type make_property_map (std::vector< T > &v)
 equivalent to make_property_map(&v[0]) Note that v must not be modified while using the property map created
 
template<class T >
Pointer_property_map< T >::const_type make_property_map (const T *pointer)
 Non-mutable version.
 
template<class T >
Pointer_property_map< T >::const_type make_property_map (const std::vector< T > &v)
 equivalent to make_property_map(&v[0]) Note that v must not be modified while using the property map created