diff --git a/include/boost/fixed_string/fixed_string.hpp b/include/boost/fixed_string/fixed_string.hpp index 3b88077..b037184 100644 --- a/include/boost/fixed_string/fixed_string.hpp +++ b/include/boost/fixed_string/fixed_string.hpp @@ -1477,10 +1477,10 @@ public: return find(sv.data(), pos, sv.size()); } - template + template size_type find( - const fixed_string& str, + const fixed_string& str, size_type pos = 0) const noexcept { return find(str.data(), pos, str.size()); @@ -1540,10 +1540,10 @@ public: return rfind(sv.data(), pos, sv.size()); } - template + template size_type rfind( - const fixed_string& str, + const fixed_string& str, size_type pos = npos) const noexcept { return rfind(str.data(), pos, str.size()); @@ -1602,7 +1602,7 @@ public: return find_first_of(sv.data(), pos, sv.size()); } - template + template size_type find_first_of( const fixed_string& str, @@ -1664,10 +1664,10 @@ public: return find_last_of(sv.data(), pos, sv.size()); } - template + template size_type find_last_of( - const fixed_string& str, + const fixed_string& str, size_type pos = npos) const noexcept { return find_last_of(str.data(), pos, str.size()); @@ -1726,10 +1726,10 @@ public: return find_first_not_of(sv.data(), pos, sv.size()); } - template + template size_type find_first_not_of( - const fixed_string& str, + const fixed_string& str, size_type pos = 0) const noexcept { return find_first_not_of(str.data(), pos, str.size());