https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
Daniel Krügler changed:
What|Removed |Added
CC||daniel.kruegler@googlemail.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
--- Comment #8 from Jonathan Wakely ---
VC++ and the book are both wrong.
t know whether it is an
implementation issue, or it is by design.
Best regards,
Yuanming
> From: gcc-bugzi...@gcc.gnu.org
> To: gaoyuanm...@hotmail.com
> Subject: [Bug c++/61987] Name Resolution within a Template
> Date: Fri, 1 Aug 2014 10:28:36 +
>
> https://g
o: gaoyuanm...@hotmail.com
> Subject: [Bug c++/61987] Name Resolution within a Template
> Date: Fri, 1 Aug 2014 10:06:00 +
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
>
> --- Comment #4 from Andrew Pinski ---
> (In reply to Yuanming Gao from comment #3)
> > Please
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
--- Comment #5 from Jonathan Wakely ---
G++ and clang++ call f(double) four times, because that is the only function
visible in the template definition. foo(int) is only visible at the point of
instantiation, so could only be found by ADL, but in
Well I disagree with that book based on what the c++ standard says about
foundmental types and how argument dependent lookup works.
>
>
> Best regards,
> Yuanming Gao
>
> > From: gcc-bugzi...@gcc.gnu.org
> > To: gaoyuanm...@hotmail.com
> > Subject: [Bug c++/6
nu.org
> To: gaoyuanm...@hotmail.com
> Subject: [Bug c++/61987] Name Resolution within a Template
> Date: Fri, 1 Aug 2014 09:46:21 +
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
>
> --- Comment #2 from Andrew Pinski ---
> I don't think this is a bu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
--- Comment #2 from Andrew Pinski ---
I don't think this is a bug as foundmental types does not have an associated
namespace associated with it. So the overload set is only what is declared
before the template.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61987
--- Comment #1 from Yuanming Gao ---
Created attachment 33223
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33223&action=edit
source code
10 matches
Mail list logo