Fix unused typedefs warnings

This commit is contained in:
Mael Rouxel-Labbé 2020-02-10 18:17:27 +01:00
parent 1d964fe3a6
commit d49d045e7c
1 changed files with 6 additions and 4 deletions

View File

@ -91,12 +91,14 @@ void test_lazy_exact_nt() {
assert( cast ( (i*i+i) / i-i ) == LR(1)); assert( cast ( (i*i+i) / i-i ) == LR(1));
assert( cast ( (i*i+r) / i-i ) == LR(1)); assert( cast ( (i*i+r) / i-i ) == LR(1));
assert( cast ( (i*r+r) / i-i ) == LI(1)); assert( cast ( (i*r+r) / i-i ) == LI(1));
}{ // see also Coercion_traits_test.C }
{ // see also Coercion_traits_test.C
#ifdef CGAL_USE_LEDA #ifdef CGAL_USE_LEDA
#ifdef CGAL_USE_CORE #ifdef CGAL_USE_CORE
typedef CGAL::Lazy_exact_nt<leda_integer > T1; CGAL_assertion_code(typedef CGAL::Lazy_exact_nt<leda_integer> T1;)
typedef CGAL::Lazy_exact_nt<CORE::Expr > T2; CGAL_assertion_code(typedef CGAL::Lazy_exact_nt<CORE::Expr> T2;)
typedef CGAL::Coercion_traits<T1,T2> CT; CGAL_assertion_code(typedef CGAL::Coercion_traits<T1, T2> CT;)
CGAL_static_assertion((boost::is_same< typename CT::Are_implicit_interoperable,CGAL::Tag_false>::value)); CGAL_static_assertion((boost::is_same< typename CT::Are_implicit_interoperable,CGAL::Tag_false>::value));
CGAL_static_assertion((boost::is_same< typename CT::Are_explicit_interoperable,CGAL::Tag_false>::value)); CGAL_static_assertion((boost::is_same< typename CT::Are_explicit_interoperable,CGAL::Tag_false>::value));
#endif #endif