File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ namespace small {
440440 [[nodiscard]] constexpr bool
441441 is_at_step_size () const {
442442 return multibyte_index_ % step_size == step_size - 1
443- && not is_end ();
443+ && ! is_end ();
444444 }
445445
446446 // / \brief Check if this is the end iterator
@@ -1646,7 +1646,7 @@ namespace small {
16461646 it = first;
16471647 step = search_range / 2 ;
16481648 std::advance (it, step);
1649- if (not it.contains_codepoint_information ()) {
1649+ if (! it.contains_codepoint_information ()) {
16501650 // We can go a few indexes ahead or behind to fix this
16511651 const size_type indexes_behind = (step_size - 1 )
16521652 - (it.multibyte_index ()
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ namespace small {
9191 // / value This should work in O(1) time because we have a hint
9292 // / to the byte index
9393 operator typename String::wide_value_type () const noexcept {
94- if constexpr (not is_utf32_v<value_type>) {
94+ if constexpr (! is_utf32_v<value_type>) {
9595 // Get reference to element and convert from utf8 to
9696 // wide type
9797 wide_value_type v;
@@ -126,7 +126,7 @@ namespace small {
126126 operator <<(
127127 std::ostream &os,
128128 const codepoint_reference_impl &impl) {
129- if constexpr (not is_utf32_v<value_type>) {
129+ if constexpr (! is_utf32_v<value_type>) {
130130 if (impl.size () == 1 ) {
131131 os << static_cast <char >(
132132 impl.container_ ->operator [](impl.byte_index_ ));
Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ TEST_CASE("String Rule of 5") {
465465 REQUIRE (dv[0 ] == ' \0 ' );
466466 }
467467
468- if constexpr (not is_windows ()) {
468+ if constexpr (! is_windows ()) {
469469 SECTION (" Move and set alloc" ) {
470470 std::allocator<int > alloc;
471471 // There's no safe way to do that on MSVC :O
@@ -496,7 +496,7 @@ TEST_CASE("String Rule of 5") {
496496 }
497497
498498 SECTION (" Assignment Operator" ) {
499- if constexpr (not is_windows ()) {
499+ if constexpr (! is_windows ()) {
500500 SECTION (" String" ) {
501501 string dv = u8" 1π2π3π" ;
502502 string d;
Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ TEST_CASE("String Modifying Algorithms") {
304304 }
305305 }
306306
307- if constexpr (not is_windows ()) {
307+ if constexpr (! is_windows ()) {
308308 SECTION (" UTF32 rhs" ) {
309309 string a = u8" ππππππ" ;
310310 SECTION (" Starts not-empty" ) {
You canβt perform that action at this time.
0 commit comments