31#if defined(CPositiveIrreducibleFraction_RECURSES)
32#error Recursive header files inclusion detected in CPositiveIrreducibleFraction.h
35#define CPositiveIrreducibleFraction_RECURSES
37#if !defined CPositiveIrreducibleFraction_h
39#define CPositiveIrreducibleFraction_h
45#include "DGtal/base/CBackInsertable.h"
46#include "DGtal/base/CConstSinglePassRange.h"
47#include "DGtal/kernel/CInteger.h"
245#undef CPositiveIrreducibleFraction_RECURSES
void sameType(const T &, const T &)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Represents types for which a std::back_insert_iterator can be constructed with std::back_inserte...
Aim: Defines the concept describing a const single pass range.
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Aim: Defines positive irreducible fractions, i.e. fraction p/q, p and q non-negative integers,...
void checkConstConstraints() const
T::const_iterator const_iterator
std::vector< Quotient > myQuots
std::pair< Quotient, Quotient > myValue
BOOST_CONCEPT_ASSERT((concepts::CInteger< Integer >))
T::ConstIterator ConstIterator
BOOST_CONCEPT_ASSERT((concepts::CInteger< Quotient >))
BOOST_STATIC_ASSERT((concepts::ConceptUtils::SameType< value_type, Value >::value))
BOOST_CONCEPT_USAGE(CPositiveIrreducibleFraction)
BOOST_STATIC_ASSERT((concepts::ConceptUtils::SameType< value_type, std::pair< Quotient, Quotient > >::value))
Go to http://www.sgi.com/tech/stl/Assignable.html.
Go to http://www.sgi.com/tech/stl/CopyConstructible.html.
Go to http://www.sgi.com/tech/stl/DefaultConstructible.html.