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 the documentation for an old version of boost. Click here for the latest Boost documentation.
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 );
   
typedef see-below static_gcd_type;

template < static_gcd_type Value1, static_gcd_type Value2 >
   struct static_gcd;
template < static_gcd_type Value1, static_gcd_type Value2 >
   struct static_lcm;

}
}

PrevUpHomeNext