More detabification

This commit is contained in:
Peter Dimov 2019-12-12 06:00:51 +02:00
parent c81d8e3990
commit 882c9c86c4

View File

@ -44,11 +44,11 @@ struct constexpr_char_traits
static constexpr int_type eof() noexcept { return EOF; } static constexpr int_type eof() noexcept { return EOF; }
}; };
// yields: // yields:
// 0 if for each i in [0,n), X::eq(s1[i],s2[i]) is true; // 0 if for each i in [0,n), X::eq(s1[i],s2[i]) is true;
// else, a negative value if, for some j in [0,n), X::lt(s1[j],s2[j]) is true and // else, a negative value if, for some j in [0,n), X::lt(s1[j],s2[j]) is true and
// for each i in [0,j) X::eq(s2[i],s2[i]) is true; // for each i in [0,j) X::eq(s2[i],s2[i]) is true;
// else a positive value. // else a positive value.
constexpr int constexpr_char_traits::compare(const char_type* s1, const char_type* s2, size_t n) noexcept constexpr int constexpr_char_traits::compare(const char_type* s1, const char_type* s2, size_t n) noexcept
{ {
for (; n != 0; --n, ++s1, ++s2) for (; n != 0; --n, ++s1, ++s2)