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

Barnabás Pőcze <pobrn at protonmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pobrn at protonmail dot com

--- Comment #8 from Barnabás Pőcze <pobrn at protonmail dot com> ---
Here is another very simple example that only uses STL types:
https://gcc.godbolt.org/z/43cKxdqr3

  void f(const std::vector<int>& v)
  {
      const int& r = std::span<const int>(v)[0];
  }

Reply via email to