mirror of
https://github.com/boostorg/charconv.git
synced 2026-02-09 11:02:30 +00:00
Fix ambiguous conversion to boost::uint128_type
This commit is contained in:
@@ -71,11 +71,11 @@ struct uint128
|
||||
UNSIGNED_CONSTRUCTOR(unsigned long long)
|
||||
|
||||
#ifdef BOOST_CHARCONV_HAS_INT128
|
||||
explicit constexpr uint128(boost::int128_type v) noexcept :
|
||||
constexpr uint128(boost::int128_type v) noexcept :
|
||||
high {static_cast<std::uint64_t>(v >> 64)},
|
||||
low {static_cast<std::uint64_t>(static_cast<boost::uint128_type>(v) & ~UINT64_C(0))} {}
|
||||
|
||||
explicit constexpr uint128(boost::uint128_type v) noexcept :
|
||||
constexpr uint128(boost::uint128_type v) noexcept :
|
||||
high {static_cast<std::uint64_t>(v >> 64)},
|
||||
low {static_cast<std::uint64_t>(v & ~UINT64_C(0))} {}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user