diff options
Diffstat (limited to 'zen/string_traits.h')
-rw-r--r-- | zen/string_traits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/string_traits.h b/zen/string_traits.h index 31c8c12c..240dbeac 100644 --- a/zen/string_traits.h +++ b/zen/string_traits.h @@ -36,8 +36,8 @@ namespace zen //reference a sub-string for consumption by zen string_tools //=> std::string_view seems decent, but of course fucks up in one regard: construction -template <class Iterator> auto makeStringView(Iterator first, Iterator last); //e.g. this constructor is not available (at least on clang) -template <class Iterator> auto makeStringView(Iterator first, size_t len); +template <class Iterator> auto makeStringView(Iterator first, Iterator last); //this constructor is not available (at least on clang) +template <class Iterator> auto makeStringView(Iterator first, size_t len); //std::string_view(char*, int) fails to compile! expected size_t as second parameter |