mirror of https://github.com/CGAL/cgal
46 lines
815 B
C++
46 lines
815 B
C++
/// \addtogroup PkgAlgebraicFoundations Algebraic Foundations
|
||
/// @{
|
||
/// \addtogroup PkgAlgebraicFoundationsConcepts Concepts
|
||
/// @{
|
||
|
||
|
||
///
|
||
/// `AdaptableUnaryFunction`,
|
||
/// returns true in case the argument is the one of the ring.
|
||
/// \refines ::AdaptableUnaryFunction
|
||
/// \sa `AlgebraicStructureTraits`
|
||
class AlgebraicStructureTraits::IsOne {
|
||
public:
|
||
|
||
/// \name Types
|
||
/// @{
|
||
/*!
|
||
Is `AlgebraicStructureTraits::Boolean`.
|
||
*/
|
||
typedef Hidden_type result_type;
|
||
/// @}
|
||
|
||
/// \name Types
|
||
/// @{
|
||
/*!
|
||
Is `AlgebraicStructureTraits::Type`.
|
||
*/
|
||
typedef Hidden_type argument_type;
|
||
/// @}
|
||
|
||
/// \name Operations
|
||
/// @{
|
||
/*!
|
||
returns true in case \f$x\f$ is the one of the ring.
|
||
*/
|
||
result_type operator()(argument_type x);
|
||
/// @}
|
||
|
||
}; /* concept AlgebraicStructureTraits::IsOne */
|
||
/// @}
|
||
/// @}
|
||
|
||
|
||
|
||
|