cgal/Algebraic_foundations/doc/Algebraic_foundations/Concepts/RealEmbeddableTraits--IsNeg...

44 lines
622 B
C++

/*!
\ingroup PkgAlgebraicFoundationsConcepts
\cgalconcept
`AdaptableUnaryFunction`, returns true in case the argument is negative.
\refines ::AdaptableUnaryFunction
\sa ::RealEmbeddableTraits
*/
class RealEmbeddableTraits::IsNegative {
public:
/// \name Types
/// @{
/*!
Type convertible to `bool`.
*/
typedef Hidden_type result_type;
/*!
Is `RealEmbeddableTraits::Type`.
*/
typedef Hidden_type argument_type;
/// @}
/// \name Operations
/// @{
/*!
returns true in case \f$ x\f$ is negative.
*/
result_type operator()(argument_type x);
/// @}
}; /* end RealEmbeddableTraits::IsNegative */