brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1008 B · 145d16f Raw
35 lines · plain
1//  Boost common_factor_ct.hpp header file  ----------------------------------//2 3//  (C) Copyright John Maddock 2017.4//  Distributed under the Boost Software License, Version 1.0. (See5//  accompanying file LICENSE_1_0.txt or copy at6//  http://www.boost.org/LICENSE_1_0.txt)7 8//  See http://www.boost.org for updates, documentation, and revision history.9 10#ifndef BOOST_MATH_COMMON_FACTOR_CT_HPP11#define BOOST_MATH_COMMON_FACTOR_CT_HPP12 13#ifndef BOOST_MATH_STANDALONE14#include <boost/integer/common_factor_ct.hpp>15#include <boost/math/tools/header_deprecated.hpp>16 17BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_ct.hpp>");18 19namespace boost20{21namespace math22{23 24   using boost::integer::static_gcd;25   using boost::integer::static_lcm;26   using boost::integer::static_gcd_type;27 28}  // namespace math29}  // namespace boost30#else31#error Common factor is not available in standalone mode because it requires boost.integer.32#endif // BOOST_MATH_STANDALONE33 34#endif  // BOOST_MATH_COMMON_FACTOR_CT_HPP35