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.
2 parents 242020e + e9176c5 commit fd1e82eCopy full SHA for fd1e82e
include/stdx/ct_string.hpp
@@ -52,7 +52,7 @@ template <std::size_t N> struct ct_string {
52
constexpr static std::integral_constant<bool, N == 1U> empty{};
53
54
constexpr explicit(true) operator std::string_view() const {
55
- return std::string_view{value.cbegin(), size()};
+ return std::string_view{value.data(), size()};
56
}
57
58
std::array<char, N> value{};
0 commit comments