https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022
--- Comment #5 from piersh at hotmail dot com ---
oh, no. scratch that last comment.
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) {} // <<-
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