forked from boostorg/static_string
Remove unused lexicographical_compare overloads
This commit is contained in:
@ -316,19 +316,6 @@ lexicographical_compare(
|
|||||||
CharT, Traits>(s1.data(), s1.size(), s2, n2);
|
CharT, Traits>(s1.data(), s1.size(), s2, n2);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<std::size_t N, typename CharT, typename Traits>
|
|
||||||
BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
|
||||||
inline
|
|
||||||
int
|
|
||||||
lexicographical_compare(
|
|
||||||
const basic_static_string<N, CharT, Traits>& s1,
|
|
||||||
const CharT* s2,
|
|
||||||
std::size_t n2) noexcept
|
|
||||||
{
|
|
||||||
return detail::lexicographical_compare<
|
|
||||||
CharT, Traits>(s1.data(), s1.size(), s2, n2);
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename CharT, typename Traits>
|
template<typename CharT, typename Traits>
|
||||||
BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
||||||
inline
|
inline
|
||||||
@ -341,18 +328,6 @@ lexicographical_compare(
|
|||||||
s1.data(), s1.size(), s2.data(), s2.size());
|
s1.data(), s1.size(), s2.data(), s2.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
template<std::size_t N, std::size_t M, typename CharT, typename Traits>
|
|
||||||
BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
|
||||||
inline
|
|
||||||
int
|
|
||||||
lexicographical_compare(
|
|
||||||
const basic_static_string<N, CharT, Traits>& s1,
|
|
||||||
const basic_static_string<M, CharT, Traits>& s2) noexcept
|
|
||||||
{
|
|
||||||
return detail::lexicographical_compare<CharT, Traits>(
|
|
||||||
s1.data(), s1.size(), s2.data(), s2.size());
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename Traits, typename Integer>
|
template<typename Traits, typename Integer>
|
||||||
inline
|
inline
|
||||||
char*
|
char*
|
||||||
|
Reference in New Issue
Block a user