Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Synopsis

namespace boost
{
namespace math
{

template < typename IntegerType >
   class gcd_evaluator;
template < typename IntegerType >
   class lcm_evaluator;

template < typename IntegerType >
   IntegerType  gcd( IntegerType const &a, IntegerType const &b );
template < typename IntegerType >
   IntegerType  lcm( IntegerType const &a, IntegerType const &b );

template < unsigned long Value1, unsigned long Value2 >
   struct static_gcd;
template < unsigned long Value1, unsigned long Value2 >
   struct static_lcm;

}
}

PrevUpHomeNext