mponent: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gene at staubsaal dot de
When calling a non-const member function inside a lambda expression the
constness of 'this' is being ignored:
Example example.cpp:
struct Foo {
int x;
void bar() const {
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64915
gene at staubsaal dot de changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60463
gene at staubsaal dot de changed:
What|Removed |Added
CC||gene at staubsaal dot de
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gene at staubsaal dot de
Target Milestone: ---
Compiler: gcc (GCC) 14.1.1
Compile flags: -std=c++20 -O3 -Wfree-nonheap-object
The following code produces an "-Wfree-nonheap-object" warning, which does
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115180
gene at staubsaal dot de changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115016
gene at staubsaal dot de changed:
What|Removed |Added
CC||gene at staubsaal dot de