https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115134
Bug ID: 115134 Summary: Possible typo in _Grapheme_cluster_iterator iterator Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: pilarlatiesa at gmail dot com Target Milestone: --- I believe there's a missing dereference here: https://github.com/gcc-mirror/gcc/blob/bc6e336cb7c85094ddc77757be97c3d8588f35ca/libstdc%2B%2B-v3/include/bits/unicode.h#L805 i.e.: constexpr _Iterator operator++(int) { auto __tmp = *this; ++*this; // here return __tmp; }