https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115124

            Bug ID: 115124
           Summary: Typo: `++this` instead of `++*this`
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rl.alt.accnt at gmail dot com
  Target Milestone: ---

The `bits/unicode.h` header contains this code (on trunk currently around line
800):
```
constexpr _Iterator
operator++(int)
{
  auto __tmp = *this;
  ++this;
  return __tmp;
}
```

I presume this was supposed to be `++*this`, not `++this`.
  • [Bug libstdc++/115124] New: Typ... rl.alt.accnt at gmail dot com via Gcc-bugs

Reply via email to