use a tag for Linf bisector constructions

Instead of the type Has_bisector_constructions_type that relied on
SFINAE for choosing bisectors, use Tag_has_bisector_constructions
tag which is typedef'ed to be Tag_true for Linf traits.

Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
Panagiotis Cheilaris 2014-09-16 12:03:49 +02:00
parent b6044ee297
commit 304dc76a36
2 changed files with 4 additions and 2 deletions

View File

@ -203,7 +203,8 @@ public:
// C2E, C2F, E2C, F2C> // C2E, C2F, E2C, F2C>
//Construct_sdg_bisector_2; //Construct_sdg_bisector_2;
typedef char Has_bisector_constructions_type; // Linf traits contain bisector constructions
typedef Tag_true Tag_has_bisector_constructions;
template<class Gt, class M> template<class Gt, class M>
class Construct_sdg_bisector_2 class Construct_sdg_bisector_2

View File

@ -47,7 +47,8 @@ public:
//CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_NS::Construct_sdg_bisector_2<K,MTag> //CGAL_SEGMENT_DELAUNAY_GRAPH_LINF_2_NS::Construct_sdg_bisector_2<K,MTag>
//Construct_sdg_bisector_2; //Construct_sdg_bisector_2;
typedef char Has_bisector_constructions_type; // Linf traits contain bisector constructions
typedef Tag_true Tag_has_bisector_constructions;
template<class Gt, class M> template<class Gt, class M>
class Construct_sdg_bisector_2 class Construct_sdg_bisector_2