Dune::GcdHelper< a, b, true > Struct Template Reference
[Common (foundation classes)]

#include <dune/common/gcd.hh>

List of all members.

Static Public Member Functions

static void conceptCheck ()
 Check that a>b.

Static Public Attributes

static const long gcd = GcdHelper<b,a%b,true>::gcd
 The greatest common divisor of the numbers a and b.

template<long a, long b>
struct Dune::GcdHelper< a, b, true >


Member Function Documentation

template<long a, long b>
static void Dune::GcdHelper< a, b, true >::conceptCheck (  )  [inline, static]

Check that a>b.

References dune_static_assert.


Member Data Documentation

template<long a, long b>
const long Dune::GcdHelper< a, b, true >::gcd = GcdHelper<b,a%b,true>::gcd [static]

The greatest common divisor of the numbers a and b.


The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 10:45:23 2010 for dune-common by  doxygen 1.6.3