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

            Bug ID: 98456
           Summary: Use of std::get instead of get
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: moub.ahmed at hotmail dot com
  Target Milestone: ---

This uses std::get :

https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/std/ranges#L3050

Whereas the standard uses get:

https://eel.is/c++draft/range.elements#view

Since std::get is not overloadable, this bug prevents custom tuple-like types
to interoperate with std::ranges::views::keys/values for instance.

Reply via email to