Removed extraneous overloads

This commit is contained in:
Krystian Stasiowski
2019-10-13 20:47:49 -04:00
committed by GitHub
parent 4550ad8441
commit 8911f79d9a

View File

@ -1305,7 +1305,8 @@ public:
t, pos); t, pos);
} }
template<std::size_t N> // overload for later use
/*template<std::size_t N>
size_type size_type
find( find(
const fixed_string<N, CharT, Traits>& str, const fixed_string<N, CharT, Traits>& str,
@ -1314,7 +1315,7 @@ public:
return string_view_type( return string_view_type(
*this).find( *this).find(
str, pos); str, pos);
} }*/
size_type size_type
find( find(
@ -1366,7 +1367,8 @@ public:
t, pos); t, pos);
} }
template<std::size_t N> // overload for later use
/*template<std::size_t N>
size_type size_type
rfind( rfind(
const fixed_string<N, CharT, Traits>& str, const fixed_string<N, CharT, Traits>& str,
@ -1375,7 +1377,7 @@ public:
return string_view_type( return string_view_type(
*this).rfind( *this).rfind(
str, pos); str, pos);
} }*/
size_type size_type
rfind( rfind(
@ -1427,7 +1429,8 @@ public:
t, pos); t, pos);
} }
template<std::size_t N> // overload for later use
/*template<std::size_t N>
size_type size_type
find_first_of( find_first_of(
const fixed_string<N, CharT, Traits>& str, const fixed_string<N, CharT, Traits>& str,
@ -1436,7 +1439,7 @@ public:
return string_view_type( return string_view_type(
*this).find_first_of( *this).find_first_of(
str, pos); str, pos);
} }*/
size_type size_type
find_first_of( find_first_of(
@ -1486,8 +1489,9 @@ public:
*this).find_last_of( *this).find_last_of(
t, pos); t, pos);
} }
template<std::size_t N> // overload for later use
/*template<std::size_t N>
size_type size_type
find_last_of( find_last_of(
const fixed_string<N, CharT, Traits>& str, const fixed_string<N, CharT, Traits>& str,
@ -1496,7 +1500,7 @@ public:
return string_view_type( return string_view_type(
*this).find_last_of( *this).find_last_of(
str, pos); str, pos);
} }*/
size_type size_type
find_last_of( find_last_of(
@ -1547,7 +1551,8 @@ public:
t, pos); t, pos);
} }
template<std::size_t N> // overload for later use
/*template<std::size_t N>
size_type size_type
find_first_not_of( find_first_not_of(
const fixed_string<N, CharT, Traits>& str, const fixed_string<N, CharT, Traits>& str,
@ -1556,7 +1561,7 @@ public:
return string_view_type( return string_view_type(
*this).find_first_not_of( *this).find_first_not_of(
str, pos); str, pos);
} }*/
size_type size_type
find_first_not_of( find_first_not_of(
@ -1607,7 +1612,8 @@ public:
t, pos); t, pos);
} }
template<size_t N> // overload for later use
/*template<size_t N>
size_type size_type
find_last_not_of( find_last_not_of(
const fixed_string<N, CharT, Traits>& str, const fixed_string<N, CharT, Traits>& str,
@ -1616,7 +1622,7 @@ public:
return string_view_type( return string_view_type(
*this).find_last_not_of( *this).find_last_not_of(
str, pos); str, pos);
} }*/
size_type size_type
find_last_not_of( find_last_not_of(