We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f51253 commit 2f42158Copy full SHA for 2f42158
include/boost/decimal/decimal_fast64_t.hpp
@@ -591,7 +591,7 @@ constexpr decimal_fast64_t::decimal_fast64_t(const char* str) : decimal_fast64_t
591
#ifndef BOOST_DECIMAL_HAS_STD_STRING_VIEW
592
inline decimal_fast64_t::decimal_fast64_t(const std::string& str) : decimal_fast64_t(str.c_str(), str.size()) {}
593
#else
594
-constexpr decimal_fast64_t::decimal_fast64_t(std::string_view str) : decimal_fast64_t(str.c_str(), str.size()) {}
+constexpr decimal_fast64_t::decimal_fast64_t(std::string_view str) : decimal_fast64_t(str.data(), str.size()) {}
595
#endif
596
597
constexpr auto signbit(const decimal_fast64_t val) noexcept -> bool
0 commit comments