From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 25CF1385354D; Fri, 21 Oct 2022 14:03:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25CF1385354D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666361017; bh=DMtfAZ6kWoETlnLURC8ktH015JgSwXKmKxGZg9x6/Nw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Hjwgy2Y2gEI57IWGLOwRBeAor9+4jj8Nt4Rd1A31d6YeG5QZwDdeqn/IJLEhCOYoD K4m1HP0aVz0/6Qy0vd4f71t2icCYcJJxTLQnZ0mssurRGGcGWJn9KTYaycyRB8W5dK gqb5tvXPLP0xePlDt8C8OmhAn79zkmjbgY3YhNBM= From: "jens.maurer at gmx dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107022] error: use of deleted function 'std::unordered_map Date: Fri, 21 Oct 2022 14:03:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jens.maurer at gmx dot net 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: Message-ID: In-Reply-To: References: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107022 --- Comment #8 from Jens Maurer --- I understand we're in a tangled web of partially-complete class rules here, but the standard does give you the expectation that the inner class is comp= lete at its closing brace: [class.pre] p2 says: "A class is considered defined after the closing brace of its class-specifi= er has been seen even though its member functions are in general not yet defin= ed."=