Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions include/boost/decimal/decimal32.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,6 @@ BOOST_DECIMAL_EXPORT class decimal32 final // NOLINT(cppcoreguidelines-special-m
#endif
constexpr decimal32(T coeff, T2 exp, bool sign = false) noexcept;

#ifdef BOOST_DECIMAL_HAS_CONCEPTS
template <BOOST_DECIMAL_INTEGRAL T>
#else
template <typename T, std::enable_if_t<detail::is_integral_v<T>, bool> = true>
#endif
constexpr decimal32(bool coeff, T exp, bool sign = false) noexcept;

constexpr decimal32(const decimal32& val) noexcept = default;
constexpr decimal32(decimal32&& val) noexcept = default;
constexpr auto operator=(const decimal32& val) noexcept -> decimal32& = default;
Expand Down Expand Up @@ -1557,16 +1550,6 @@ constexpr auto decimal32::operator=(const Integer& val) noexcept
return *this;
}

#ifdef BOOST_DECIMAL_HAS_CONCEPTS
template <BOOST_DECIMAL_INTEGRAL T>
#else
template <typename T, std::enable_if_t<detail::is_integral_v<T>, bool>>
#endif
constexpr decimal32::decimal32(bool coeff, T exp, bool sign) noexcept
{
*this = decimal32(static_cast<std::int32_t>(coeff), exp, sign);
}

constexpr decimal32::operator bool() const noexcept
{
constexpr decimal32 zero {0, 0};
Expand Down
Loading