CGAL 5.5 - CGAL and Boost Property Maps
CGAL::Property_map_to_unary_function< PropertyMap > Struct Template Reference

#include <CGAL/property_map.h>

Definition

Struct that turns a property map into a unary functor with operator()(key k) calling the get function with k

Public Types

typedef boost::property_traits< PropertyMap >::key_type argument_type
 
typedef boost::property_traits< PropertyMap >::reference result_type
 

Public Member Functions

 Property_map_to_unary_function (PropertyMap m=PropertyMap())
 
template<class KeyType >
decltype(auto) operator() (const KeyType &a) const
 

Public Attributes

PropertyMap map