From 3a070e020e705806e51d6a1fe21d7ae725f0bac2 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Tue, 29 Oct 2019 19:37:22 -0400 Subject: [PATCH] Fixed name hiding for template parameters --- include/boost/fixed_string/fixed_string.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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());