mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Add additional concept check for integer code using gmp classes. Fixes #4139. [SVN r61837]
23 lines
919 B
C++
23 lines
919 B
C++
|
|
// (C) Copyright John Maddock 2010.
|
|
// Use, modification and distribution are subject to the
|
|
// Boost Software License, Version 1.0. (See accompanying file
|
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <gmpxx.h>
|
|
#include <boost/math/common_factor.hpp>
|
|
|
|
template class boost::math::gcd_evaluator<mpz_class>;
|
|
template class boost::math::lcm_evaluator<mpz_class>;
|
|
template mpz_class boost::math::gcd(const mpz_class&, const mpz_class&);
|
|
template mpz_class boost::math::lcm(const mpz_class&, const mpz_class&);
|
|
|
|
template mpz_class boost::math::detail::gcd_euclidean(const mpz_class, const mpz_class);
|
|
template mpz_class boost::math::detail::gcd_integer(const mpz_class&, const mpz_class&);
|
|
template mpz_class boost::math::detail::lcm_euclidean(const mpz_class&, const mpz_class&);
|
|
template mpz_class boost::math::detail::lcm_integer(const mpz_class&, const mpz_class&);
|
|
|
|
int main()
|
|
{
|
|
}
|