From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C71D3894417; Tue, 27 Apr 2021 17:06:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C71D3894417 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTAwMjkxXSBOZXc6IGludGVybmFsIGNvbXBpbGVy?= =?UTF-8?B?IGVycm9yOiB0cnlpbmcgdG8gY2FwdHVyZSDigJh0aGlz4oCZIGluIGluc3Rh?= =?UTF-8?B?bnRpYXRpb24gb2YgZ2VuZXJpYyBsYW1iZGE=?= Date: Tue, 27 Apr 2021 17:06:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2021 17:06:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100291 Bug ID: 100291 Summary: internal compiler error: trying to capture =E2=80=98thi= s=E2=80=99 in instantiation of generic lambda Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- template struct integral_constant { static constexpr _Tp value =3D __v; }; template using bool_constant =3D integral_constant; template struct conditional; template struct __and_; template struct __and_<_B1, _B2> : conditional<_B2>::type {}; template _Up __declval(int); template auto declval() -> decltype(__declval<_Tp>(0)); template struct conditional { typedef _Iftrue type; }; template using void_t =3D void; template struct iterator_traits; template struct iterator_traits<_Tp *> { typedef _Tp reference; }; struct pointer_traits { template using rebind =3D _Up *; }; template class __normal_iterator { public: typename iterator_traits<_Iterator>::reference operator*(); }; template class allocator { public: typedef _Tp value_type; }; template struct allocator_traits { template struct _Ptr { using type =3D pointer_traits::rebind<_Tp>; }; using const_pointer =3D typename _Ptr::type; }; template struct _Vector_base { typedef allocator_traits<_Alloc> _Tp_alloc_type; }; template > class vector { typedef typename _Vector_base<_Alloc>::_Tp_alloc_type _Alloc_traits; public: __normal_iterator begin() const; }; template class, class...> struct detector; template class Op, class... Args> struct detector>, Op, Args...> { using value_t =3D integral_constant; }; template