Defining RT and FT in terms of each other is not so useful and can

confuse some compilers.
This commit is contained in:
Marc Glisse 2014-03-15 16:48:27 +01:00
parent effec9de4b
commit 7e722ed009
1 changed files with 3 additions and 2 deletions

View File

@ -151,8 +151,9 @@ namespace CGAL {
#undef DECL_OBJ_
#undef DECL_OBJ
CGAL_KD_DEFAULT_TYPE(RT_tag,(typename Get_type<K, FT_tag>::type),(),());
CGAL_KD_DEFAULT_TYPE(FT_tag,(CGAL::Quotient<typename Get_type<K, RT_tag>::type>),(),());
// Intel fails with those, and they are not so useful.
// CGAL_KD_DEFAULT_TYPE(RT_tag,(typename Get_type<K, FT_tag>::type),(),());
// CGAL_KD_DEFAULT_TYPE(FT_tag,(CGAL::Quotient<typename Get_type<K, RT_tag>::type>),(),());
#define SMURF2(A,B) CGAL_KD_DEFAULT_TYPE(A##_tag,(typename Same_uncertainty_nt<B, typename Get_type<K,RT_tag>::type>::type),(RT_tag),())
#define SMURF1(A) SMURF2(A,CGAL::A)