mirror of https://github.com/CGAL/cgal
Don't base reference detection on lvalue_property_map_tag
This commit is contained in:
parent
2331eb7cf4
commit
480c14564a
|
|
@ -232,19 +232,16 @@ public:
|
|||
|
||||
// Select type of iterator + construct class depending on whether
|
||||
// point map is lvalue or not
|
||||
typedef typename boost::mpl::if_
|
||||
<boost::is_same
|
||||
<boost::lvalue_property_map_tag,
|
||||
typename boost::property_traits<PointPropertyMap>::category >,
|
||||
typename Base::Cartesian_const_iterator_d,
|
||||
No_lvalue_iterator>::type
|
||||
typedef typename boost::mpl::if_<
|
||||
boost::is_reference<typename boost::property_traits<PointPropertyMap>::reference>,
|
||||
typename Base::Cartesian_const_iterator_d,
|
||||
No_lvalue_iterator>::type
|
||||
Cartesian_const_iterator_d;
|
||||
typedef typename boost::mpl::if_
|
||||
<boost::is_same
|
||||
<boost::lvalue_property_map_tag,
|
||||
typename boost::property_traits<PointPropertyMap>::category >,
|
||||
Construct_cartesian_const_iterator_d_lvalue,
|
||||
Construct_cartesian_const_iterator_d_no_lvalue>::type
|
||||
|
||||
typedef typename boost::mpl::if_<
|
||||
boost::is_reference<typename boost::property_traits<PointPropertyMap>::reference>,
|
||||
Construct_cartesian_const_iterator_d_lvalue,
|
||||
Construct_cartesian_const_iterator_d_no_lvalue>::type
|
||||
Construct_cartesian_const_iterator_d;
|
||||
|
||||
struct Construct_iso_box_d: public Base::Construct_iso_box_d{
|
||||
|
|
|
|||
Loading…
Reference in New Issue