CGAL 5.1 - Algebraic Foundations
RealEmbeddableTraits_::Compare Class Reference

#include <Concepts/RealEmbeddableTraits--Compare.h>

Definition

AdaptableBinaryFunction compares two real embeddable numbers.

Refines:
AdaptableBinaryFunction
See also
RealEmbeddableTraits

Types

typedef unspecified_type result_type
 Type convertible to CGAL::Comparison_result. More...
 
typedef unspecified_type first_argument_type
 Is RealEmbeddableTraits::Type. More...
 
typedef unspecified_type second_argument_type
 Is RealEmbeddableTraits::Type. More...
 

Operations

result_type operator() (first_argument_type x, second_argument_type y)
 compares \( x\) with respect to \( y\). More...
 
template<class NT1 , class NT2 >
result_type operator() (NT1 x, NT2 y)
 This operator is defined if NT1 and NT2 are ExplicitInteroperable with coercion type RealEmbeddableTraits::Type. More...
 

Member Typedef Documentation

◆ first_argument_type

◆ result_type

Type convertible to CGAL::Comparison_result.

◆ second_argument_type

Member Function Documentation

◆ operator()() [1/2]

result_type RealEmbeddableTraits_::Compare::operator() ( first_argument_type  x,
second_argument_type  y 
)

compares \( x\) with respect to \( y\).

◆ operator()() [2/2]

template<class NT1 , class NT2 >
result_type RealEmbeddableTraits_::Compare::operator() ( NT1  x,
NT2  y 
)

This operator is defined if NT1 and NT2 are ExplicitInteroperable with coercion type RealEmbeddableTraits::Type.