diff --git a/include/ww898/utf_sizes.hpp b/include/ww898/utf_sizes.hpp index 7ac2cb6..ef51c39 100644 --- a/include/ww898/utf_sizes.hpp +++ b/include/ww898/utf_sizes.hpp @@ -115,23 +115,23 @@ size_t size(It it, Eit const eit) return total_cp; } -template +template> size_t size(Ch const * str) { - return size>(str); + return size(str); } -template +template> size_t size(std::basic_string str) { - return size>(str.cbegin(), str.cend()); + return size(str.cbegin(), str.cend()); } #if __cpp_lib_string_view >= 201606 -template +template> size_t size(std::basic_string_view str) { - return size>(str.cbegin(), str.cend()); + return size(str.cbegin(), str.cend()); } #endif