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.
std::char_traits<const char>
1 parent 031e770 commit 3083441Copy full SHA for 3083441
lib/inc/sys_string/utf_view.h
@@ -316,9 +316,9 @@ namespace sysstr
316
template<class Char, size_t N>
317
struct utf_access_traits<Char [N]>
318
{
319
- using char_access = std::basic_string_view<const Char>;
+ using char_access = std::basic_string_view<std::remove_const_t<Char>>;
320
321
- static constexpr std::basic_string_view<const Char> adapt(Char (& src) [N]) noexcept
+ static constexpr std::basic_string_view<std::remove_const_t<Char>> adapt(Char (& src) [N]) noexcept
322
{ return src; }
323
};
324
0 commit comments