CGAL 6.1 - Algebraic Foundations
Loading...
Searching...
No Matches
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.
 
typedef unspecified_type first_argument_type
 Is RealEmbeddableTraits::Type.
 
typedef unspecified_type second_argument_type
 Is RealEmbeddableTraits::Type.
 

Operations

result_type operator() (first_argument_type x, second_argument_type y)
 compares \( x\) with respect to \( y\).
 
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.
 

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.