[Bug c++/78147] The -Wshadow warning is too aggressive with constructor parameters

2024-04-08 Thread dan.raviv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147 Dan Raviv changed: What|Removed |Added CC||dan.raviv at gmail dot com --- Comment #8 fr

[Bug libstdc++/106239] vector::resize(size_type, const value_type&) should not require copy-assignability

2022-07-09 Thread dan.raviv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106239 --- Comment #4 from Dan Raviv --- C does meet the CopyInsertible requirements: https://godbolt.org/z/8j7KcbhdM #include class C { const int m_x; public: C(int x) : m_x (x) {} }; int main() { // C is CopyInsertable: {

[Bug libstdc++/106239] New: vector::resize(size_type, const value_type&) should not require copy-assignability

2022-07-08 Thread dan.raviv at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106239 Bug ID: 106239 Summary: vector::resize(size_type, const value_type&) should not require copy-assignability Product: gcc Version: 12.1.0 Status: UNCONFIRMED Sev