[Bug c++/107022] error: use of deleted function 'std::unordered_map

2022-09-23 Thread piersh at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 --- Comment #5 from piersh at hotmail dot com --- oh, no. scratch that last comment.

[Bug c++/107022] error: use of deleted function 'std::unordered_map

2022-09-23 Thread piersh at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 --- Comment #4 from piersh at hotmail dot com --- is it related to nested classes? this reproduces the issue: uncomment line 9 to repro: #include #include struct key {}; struct my_hash { my_hash() {} //my_hash(int i = 42) {} // <<-

[Bug c++/107022] New: error: use of deleted function 'std::unordered_map

2022-09-23 Thread piersh at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 Bug ID: 107022 Summary: error: use of deleted function 'std::unordered_map Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon