added CGAL::Needs_parens_as_product<Gmpz>

This commit is contained in:
Michael Hemmer 2007-03-28 11:10:09 +00:00
parent 79c1bde675
commit e9013df2ff
1 changed files with 10 additions and 0 deletions

View File

@ -183,6 +183,16 @@ public:
}; };
}; };
//
// Needs_parens_as_product
//
template <>
struct Needs_parens_as_product<Gmpz> {
bool operator()(const Gmpz& x) {
return CGAL_NTS is_negative(x);
}
};
CGAL_END_NAMESPACE CGAL_END_NAMESPACE
#if defined(BOOST_MSVC) #if defined(BOOST_MSVC)