OKlibrary  0.2.1.6
NumberTheory::Gcd< Int, Visitor > Struct Template Reference

#include <NumberTheory_Models.hpp>

Inheritance diagram for NumberTheory::Gcd< Int, Visitor >:
binary_function

List of all members.

Public Types

typedef Int int_type

Public Member Functions

 Gcd ()
 Gcd (Visitor vis)
int_type operator() (int_type a, int_type b)

Public Attributes

Visitor vis

Detailed Description

template<typename Int, class Visitor = GcdVisitor_empty<Int>>
struct NumberTheory::Gcd< Int, Visitor >

Definition at line 50 of file NumberTheory_Models.hpp.


Member Typedef Documentation

template<typename Int , class Visitor = GcdVisitor_empty<Int>>
typedef Int NumberTheory::Gcd< Int, Visitor >::int_type

Definition at line 51 of file NumberTheory_Models.hpp.


Constructor & Destructor Documentation

template<typename Int , class Visitor = GcdVisitor_empty<Int>>
NumberTheory::Gcd< Int, Visitor >::Gcd ( ) [inline]

Definition at line 53 of file NumberTheory_Models.hpp.

template<typename Int , class Visitor = GcdVisitor_empty<Int>>
NumberTheory::Gcd< Int, Visitor >::Gcd ( Visitor  vis) [inline]

Definition at line 54 of file NumberTheory_Models.hpp.


Member Function Documentation

template<typename Int , class Visitor = GcdVisitor_empty<Int>>
int_type NumberTheory::Gcd< Int, Visitor >::operator() ( int_type  a,
int_type  b 
) [inline]

Definition at line 55 of file NumberTheory_Models.hpp.

References NumberTheory::Gcd< Int, Visitor >::vis.


Member Data Documentation

template<typename Int , class Visitor = GcdVisitor_empty<Int>>
Visitor NumberTheory::Gcd< Int, Visitor >::vis

The documentation for this struct was generated from the following file: