]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Copyright 2015 John Maddock. Distributed under the Boost | |
3 | // Software License, Version 1.0. (See accompanying file | |
4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | #include <boost/multiprecision/gmp.hpp> | |
1e59de90 | 7 | #include <type_traits> |
7c673cae | 8 | |
7c673cae FG |
9 | // |
10 | // Move construct: | |
11 | // | |
1e59de90 TL |
12 | static_assert(std::is_nothrow_move_constructible<boost::multiprecision::mpz_int>::value, "noexcept test"); |
13 | static_assert(std::is_nothrow_move_constructible<boost::multiprecision::mpq_rational>::value, "noexcept test"); | |
14 | static_assert(std::is_nothrow_move_constructible<boost::multiprecision::mpf_float>::value, "noexcept test"); | |
7c673cae FG |
15 | // |
16 | // Move assign: | |
17 | // | |
1e59de90 TL |
18 | static_assert(std::is_nothrow_move_assignable<boost::multiprecision::mpz_int>::value, "noexcept test"); |
19 | static_assert(std::is_nothrow_move_assignable<boost::multiprecision::mpq_rational>::value, "noexcept test"); | |
20 | static_assert(std::is_nothrow_move_assignable<boost::multiprecision::mpf_float>::value, "noexcept test"); |