diff --git a/Kinetic_data_structures/include/CGAL/Polynomial/internal/Simple_interval_root.h b/Kinetic_data_structures/include/CGAL/Polynomial/internal/Simple_interval_root.h index cde9f1971eb..ae7261f61a3 100644 --- a/Kinetic_data_structures/include/CGAL/Polynomial/internal/Simple_interval_root.h +++ b/Kinetic_data_structures/include/CGAL/Polynomial/internal/Simple_interval_root.h @@ -642,7 +642,7 @@ CGAL_BEGIN_NAMESPACE template class Real_embeddable_traits< CGAL::POLYNOMIAL::internal::Simple_interval_root > - : public Real_embeddable_traits_base< CGAL::POLYNOMIAL::internal::Simple_interval_root > { + : public INTERN_RET::Real_embeddable_traits_base< CGAL::POLYNOMIAL::internal::Simple_interval_root , Tag_true > { public: typedef CGAL::POLYNOMIAL::internal::Simple_interval_root Type; class Abs diff --git a/Kinetic_data_structures/include/CGAL/Polynomial/internal/Sturm_root_rep.h b/Kinetic_data_structures/include/CGAL/Polynomial/internal/Sturm_root_rep.h index 76c42e08f06..feec3388562 100644 --- a/Kinetic_data_structures/include/CGAL/Polynomial/internal/Sturm_root_rep.h +++ b/Kinetic_data_structures/include/CGAL/Polynomial/internal/Sturm_root_rep.h @@ -948,7 +948,7 @@ CGAL_BEGIN_NAMESPACE template class Real_embeddable_traits< CGAL::POLYNOMIAL::internal::Sturm_root_rep > - : public Real_embeddable_traits_base< CGAL::POLYNOMIAL::internal::Sturm_root_rep > { + : public INTERN_RET::Real_embeddable_traits_base< CGAL::POLYNOMIAL::internal::Sturm_root_rep , Tag_true > { public: typedef CGAL::POLYNOMIAL::internal::Sturm_root_rep Type; class Abs diff --git a/Kinetic_data_structures/include/CGAL/Tools/utility_macros.h b/Kinetic_data_structures/include/CGAL/Tools/utility_macros.h index 3bf94eb32f1..c5bd2882579 100644 --- a/Kinetic_data_structures/include/CGAL/Tools/utility_macros.h +++ b/Kinetic_data_structures/include/CGAL/Tools/utility_macros.h @@ -146,7 +146,7 @@ template \ return compare(o) >=0; \ } \ bool operator<=(const This &o) const { \ - return compare(o) <= 0; \ + return compare(o) <= 0; \ } @@ -224,7 +224,7 @@ template \ #define CGAL_REAL_EMBEDDABLE_BODY \ class Abs \ - : public std::unary_function< Type, Type > { \ + : public std::unary_function< Type, Type > { \ public: \ Type operator()( const Type& x ) const { \ if (x < Type(0)) return -x; \ @@ -233,7 +233,7 @@ template \ }; \ \ class Sign \ - : public std::unary_function< Type, ::CGAL::Sign > { \ + : public std::unary_function< Type, ::CGAL::Sign > { \ public: \ ::CGAL::Sign operator()( const Type& x ) const { \ return static_cast(x.compare(0)); \ @@ -255,7 +255,7 @@ template \ }; \ \ class To_double \ - : public std::unary_function< Type, double > { \ + : public std::unary_function< Type, double > { \ public: \ double operator()( const Type& x ) const { \ return x.approximation(.00000001); \ @@ -273,8 +273,10 @@ template \ #define CGAL_HAS_INFINITY_BODY \ static const bool is_specialized = true; \ - static T min BOOST_PREVENT_MACRO_SUBSTITUTION () throw () {return -T::infinity();} \ - static T max BOOST_PREVENT_MACRO_SUBSTITUTION () throw () {return T::infinity();} \ + static T min BOOST_PREVENT_MACRO_SUBSTITUTION () throw () \ + {return -T::infinity();} \ + static T max BOOST_PREVENT_MACRO_SUBSTITUTION () throw () \ + {return T::infinity();} \ static const int digits =0; \ static const int digits10 =0; \ static const bool is_signed = true; \ @@ -307,7 +309,7 @@ template \ CGAL_BEGIN_NAMESPACE \ template \ class Real_embeddable_traits< name > \ - : public Real_embeddable_traits_base< name > { \ + : public INTERN_RET::Real_embeddable_traits_base, Tag_true>{ \ public: \ typedef name Type; \ CGAL_REAL_EMBEDDABLE_BODY; \ @@ -319,7 +321,7 @@ template \ CGAL_BEGIN_NAMESPACE \ template \ class Real_embeddable_traits< name > \ - : public Real_embeddable_traits_base< name > { \ + : public INTERN_RET::Real_embeddable_traits_base< name, Tag_true>{ \ public: \ typedef name Type; \ CGAL_REAL_EMBEDDABLE_BODY; \ @@ -346,7 +348,7 @@ template \ CGAL_BEGIN_NAMESPACE \ template \ class Real_embeddable_traits< name > \ - : public Real_embeddable_traits_base< name > { \ + : public INTERN_RET::Real_embeddable_traits_base< name , Tag_true>{ \ public: \ typedef name Type; \ CGAL_REAL_EMBEDDABLE_BODY \ @@ -365,7 +367,5 @@ template \ }; \ }; - - #endif