From 7048105fdd7c71132ab405d98413211c5269d2a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yehuda=20Bern=C3=A1th?= Date: Sun, 2 Aug 2026 23:59:18 +0300 Subject: [PATCH] [basic.scope.scope] Remove incorrect namespace redeclaration example Since the adoption of P2996 "Reflection for C++26", and the changes it made to [namespace.alias], namespace aliases are no longer alternative names for namespaces but entities of their own kind. Therefore, redeclaring a namespace as a namespace alias, even denoting the original namespace, violates [basic.link]/11.3, since one declaration declares the entity as a namespace and the other does not. --- source/basic.tex | 1 - 1 file changed, 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index b25702a164..06652f0d3b 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -1211,7 +1211,6 @@ namespace B = A; namespace B = A; // OK, no effect namespace B = B; // OK, no effect -namespace A = B; // OK, no effect namespace B {} // error: different entity for \tcode{B} void g() {