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

            Bug ID: 101589
           Summary: Incorrect implementation of LWG 3533 for elements_view
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ensadc at mailnesia dot com
                CC: ppalka at gcc dot gnu.org
  Target Milestone: ---

LWG 3533 changed the const& overload of `elements_view::iterator::base` to
return a const reference, but it seems that g:eb1aa9ad incorrectly applied the
change to `elements_view::base` (that is, the `base()` member of the *view*,
when it's supposed to change the member of the *iterator*).

Reply via email to