Re: Lenient overhead resolutions and where to find them in the manual

2024-01-29 Thread Jonathan Wakely via Gcc
On Mon, 29 Jan 2024, 18:24 Jonathan Wakely, wrote: > > > On Mon, 29 Jan 2024, 18:17 Martin Licht via Gcc, wrote: > >> GCC seems to have a non-standard lenient C++ overload resolution that is >> not documented (or easy to find in the manual). >> >> The following C++ code compiles with GCC. Howeve

Re: Lenient overhead resolutions and where to find them in the manual

2024-01-29 Thread Jonathan Wakely via Gcc
On Mon, 29 Jan 2024, 18:17 Martin Licht via Gcc, wrote: > GCC seems to have a non-standard lenient C++ overload resolution that is > not documented (or easy to find in the manual). > > The following C++ code compiles with GCC. However, it produces a warning > about an ambiguous overload that appa