FunctionObjectConcept

FractionTraits::Decompose

Definition

Functor decomposing a Fraction into its numerator and denominator.

Types

Operations

void
decompose ( FractionTraits::Type f ,
FractionTraits::Numerator_type & n ,
FractionTraits::Denominator_type & d )
decompose f into numerator n and denominator d.

See Also

Fraction
FractionTraits
FractionTraits::Compose
FractionTraits::CommonFactor