FunctionObjectConcept

FractionTraits::Compose

Definition

AdaptableBinaryFunction, returns the fraction of its arguments.

Refines

AdaptableBinaryFunction

Types

typedef FractionTraits::Type result_type;

typedef FractionTraits::Numerator_type
first_argument_type;

typedef FractionTraits::Denominator_type
second_argument_type;

Operations

result_type compose ( first_argument_type n , second_argument_type d )
return the fraction n/d.

See Also

Fraction
FractionTraits
FractionTraits::Decompose
FractionTraits::CommonFactor