fix version
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
namespace hack::string
|
||||
{
|
||||
// подсчет кол-ва символов
|
||||
inline std::size_t utf8_len(const std::string& utf8)
|
||||
{
|
||||
return std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t>{}.from_bytes(utf8).size();
|
||||
|
||||
Reference in New Issue
Block a user