123456789101112131415161718192021 |
- #ifndef BOOST_MATH_CCMATH_DETAIL_SWAP_HPP
- #define BOOST_MATH_CCMATH_DETAIL_SWAP_HPP
- namespace boost::math::ccmath::detail {
- template <typename T>
- inline constexpr void swap(T& x, T& y) noexcept
- {
- T temp = x;
- x = y;
- y = temp;
- }
- }
- #endif
|