On Wed, 4 Oct 2023 at 20:17, Jason Merrill <ja...@redhat.com> wrote: > > On 10/3/23 10:45, Jonathan Wakely wrote: > > We have a long history of INVALID bugs about std functions being > > available in the global namespace (PRs 27846, 67566, 82619, 99865, > > 110602, 111553, probably others). Let's document it. > > > > Also de-prioritize the C++98-only bugs, which are unlikely to affect > > anybody nowadays. > > > > OK for wwwdocs? > > OK, thanks. > > Jason
After pushing it I realised the formatting looks bad compared to the other items in the list, so I've pushed the attached follow-up as obvious.
commit 1b1a0cf29826ce9287a203cde00fd1512918fc17 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Oct 5 10:09:54 2023 +0100 Add <p> to new item in C++ non-bugs list diff --git a/htdocs/bugs/index.html b/htdocs/bugs/index.html index 41edc561..da3d4c0d 100644 --- a/htdocs/bugs/index.html +++ b/htdocs/bugs/index.html @@ -541,12 +541,14 @@ for details. <dl> <dt>Functions can be called without qualifying them with their namespace.</dt> <dd> +<p> Argument Dependent Lookup (ADL) means that functions can be found in namespaces associated with their arguments. This means that <code>move(arg)</code> can call <code>std::move</code> if <code>arg</code> is a type defined in namespace <code>std</code>, such as <code>std::string</code> or <code>std::vector</code>. If <code>std::move</code> is not the function you intended to call, use a qualified name such as <code>::move(arg)</code> or <code>foo::move(arg)</code>. +</p> </dd> <dt>Nested classes can access private members and types of the containing