mirror of https://github.com/CGAL/cgal
add impl of Is_zero, not using default
This commit is contained in:
parent
3923e6a15d
commit
fc9fdd585c
|
|
@ -101,6 +101,15 @@ class Polynomial_algebraic_structure_traits_base< POLY,
|
|||
return POLY( x.unit_part() );
|
||||
}
|
||||
};
|
||||
|
||||
class Is_zero
|
||||
: public std::unary_function< POLY, bool > {
|
||||
public:
|
||||
bool operator()( const POLY& x ) const {
|
||||
return x.is_zero();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
// Extend to the case that the coefficient range is a IntegralDomain (with div)
|
||||
|
|
|
|||
Loading…
Reference in New Issue