diff --git a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_change_FT.h b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_change_FT.h index 994b15f01f3..d4cdd6bd4e8 100644 --- a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_change_FT.h +++ b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_change_FT.h @@ -81,7 +81,7 @@ struct Cartesian_change_FT_base : public }; template::type> struct Functor : - Kernel_base::template Functor { }; + Get_functor { }; template struct Functor { typedef Null_functor type; }; template struct Functor diff --git a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_complete.h b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_complete.h index 6903843c5ff..d328de3ea21 100644 --- a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_complete.h +++ b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_complete.h @@ -28,7 +28,7 @@ template struct Cartesian_define_all_functors_ { typedef R_ Kernel_base; template struct Functor - : Kernel_base::template Functor + : Get_functor { }; #define CGAL_Kernel_cons2(F,f) \ template struct Functor { \ @@ -85,7 +85,7 @@ template struct Cartesian_com typedef R_ Kernel_base; typedef typename Default::Get::type Derived; template::type> struct Functor : - R_::template Functor {}; + Get_functor {}; template struct Functor { typedef typename Get_functor::type Base_functor; typedef typename boost::mpl::if_c::value, @@ -107,7 +107,7 @@ template struct Cartesian_com typedef R_ Kernel_base; typedef typename Default::Get::type Derived; template::type> struct Functor : - R_::template Functor {}; + Get_functor {}; template struct Functor { typedef typename Get_functor::type Base_functor; typedef typename boost::mpl::if_c::value, @@ -126,7 +126,7 @@ template struct Cartesian_com typedef R_ Kernel_base; typedef typename Default::Get::type Derived; template::type> struct Functor : - R_::template Functor {}; + Get_functor {}; template struct Functor { typedef typename Get_functor::type Base_functor; typedef typename boost::mpl::if_c::value, diff --git a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_K.h b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_K.h index b0828594172..34bd69ee1e2 100644 --- a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_K.h +++ b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_K.h @@ -31,7 +31,7 @@ struct Cartesian_filter_K : public Base_, typedef KernelD_converter C2E; template::type> struct Functor : - Kernel_base::template Functor {}; + Get_functor {}; template struct Functor { typedef typename Get_functor::type AP; typedef typename Get_functor::type EP; diff --git a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_NT.h b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_NT.h index 8d4041707aa..3b7f510fe67 100644 --- a/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_NT.h +++ b/NewKernel_d/include/CGAL/Kernel_d/Cartesian_filter_NT.h @@ -18,7 +18,7 @@ struct Cartesian_filter_NT : public Base_ typedef Cartesian_change_FT K2; template::type> struct Functor : - Kernel_base::template Functor {}; + Get_functor {}; template struct Functor { struct type { //TODO: use compression (derive from a compressed_pair?) diff --git a/NewKernel_d/include/CGAL/functor_tags.h b/NewKernel_d/include/CGAL/functor_tags.h index bc203e0c232..133f3e0d4ef 100644 --- a/NewKernel_d/include/CGAL/functor_tags.h +++ b/NewKernel_d/include/CGAL/functor_tags.h @@ -9,8 +9,8 @@ namespace CGAL { template struct Get_type : K::template Type {}; - template struct Get_functor - : K::template Functor {}; + template struct Get_functor + : K::template Functor {}; class Null_type {~Null_type();}; // no such object should be created diff --git a/NewKernel_d/test/NewKernel_d/test.cpp b/NewKernel_d/test/NewKernel_d/test.cpp index 568bb9a0b51..f615b7b6a41 100644 --- a/NewKernel_d/test/NewKernel_d/test.cpp +++ b/NewKernel_d/test/NewKernel_d/test.cpp @@ -82,7 +82,7 @@ void test2(){ typedef typename K1::Construct_point_d CP; typedef typename K1::Construct_vector_d CV; typedef typename K1::Construct_segment_d CS; - typedef typename K1::template Functor::type CSE; + typedef typename CGAL::Get_functor::type CSE; typedef typename K1::Construct_cartesian_const_iterator_d CCI; typedef typename K1::Orientation_d PO; typedef typename K1::Side_of_oriented_sphere_d SOS; @@ -160,7 +160,7 @@ void test3(){ typedef typename K1::Construct_point_d CP_; typedef typename K1::Construct_vector_d CV; typedef typename K1::Construct_segment_d CS; - typedef typename K1::template Functor::type CSE; + typedef typename CGAL::Get_functor::type CSE; typedef typename K1::Construct_cartesian_const_iterator_d CCI; typedef typename K1::Orientation_d PO; typedef typename K1::Side_of_oriented_sphere_d SOS;