Function

CGAL::is_one

Definition

The function is_one determines if a value is equal to 1 or not.
The function is defined if the argument type is a model of the IntegralDomainWithoutDivision concept.

#include <CGAL/number_utils.h>

template <class NT>
result_type is_one ( NT x) The result_type is convertible to bool.

See Also

IntegralDomainWithoutDivision
AlgebraicStructureTraits::IsOne