mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-02-27 17:12:26 +00:00
Merge pull request #305 from mborland/array
Remove boost.array dependency
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <type_traits>
|
||||
#include <cstdint>
|
||||
#include <boost/multiprecision/number.hpp>
|
||||
#include <boost/multiprecision/detail/integer_ops.hpp>
|
||||
#include <boost/multiprecision/detail/rebind.hpp>
|
||||
#include <boost/core/empty_value.hpp>
|
||||
#include <boost/array.hpp>
|
||||
#include <boost/multiprecision/cpp_int/cpp_int_config.hpp>
|
||||
#include <boost/multiprecision/rational_adaptor.hpp>
|
||||
#include <boost/multiprecision/traits/is_byte_container.hpp>
|
||||
@@ -27,8 +27,6 @@ namespace boost {
|
||||
namespace multiprecision {
|
||||
namespace backends {
|
||||
|
||||
using boost::enable_if;
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4307) // integral constant overflow (oveflow is in a branch not taken when it would overflow)
|
||||
@@ -44,7 +42,7 @@ struct cpp_int_backend;
|
||||
namespace detail {
|
||||
|
||||
template <unsigned MinBits, unsigned MaxBits, boost::multiprecision::cpp_integer_type SignType, cpp_int_check_type Checked, class Allocator>
|
||||
struct is_byte_container<backends::cpp_int_backend<MinBits, MaxBits, SignType, Checked, Allocator> > : public boost::false_type
|
||||
struct is_byte_container<backends::cpp_int_backend<MinBits, MaxBits, SignType, Checked, Allocator> > : public std::false_type
|
||||
{};
|
||||
|
||||
} // namespace detail
|
||||
|
||||
Reference in New Issue
Block a user