[Bug c++/49637] template function overload incorrectly ambiguous

2011-07-05 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 Timothy J Giese changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/49637] template function overload incorrectly ambiguous

2011-07-05 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 --- Comment #8 from Timothy J Giese 2011-07-05 18:02:26 UTC --- (In reply to comment #7) > (In reply to comment #5) > > (In reply to comment #1) > > > Created attachment 24686 [details] > > > minimal test case > > > > IMO this is ambiguous. > >

[Bug c++/49637] template function overload incorrectly ambiguous

2011-07-05 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 --- Comment #7 from Timothy J Giese 2011-07-05 17:34:11 UTC --- (In reply to comment #5) > (In reply to comment #1) > > Created attachment 24686 [details] > > minimal test case > > IMO this is ambiguous. > When doing partial ordering, in both c

[Bug c++/49637] template function overload incorrectly ambiguous

2011-07-05 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 --- Comment #4 from Timothy J Giese 2011-07-05 16:04:29 UTC --- icpc (ICC) 11.1 20091130 compiles the original minimal test case without warning nor error.

[Bug c++/49637] template function overload incorrectly ambiguous

2011-07-05 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 --- Comment #3 from Timothy J Giese 2011-07-05 15:40:59 UTC --- The original minimal test case also fails to compile with g++ 4.5.1. I can confirm that the following compiles fine with g++ 4.6.0, 4.5.1, and 4.4.3. struct S { typedef int iterato

[Bug c++/49637] template function overload incorrectly ambiguous

2011-07-04 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 --- Comment #1 from Timothy J Giese 2011-07-05 02:04:49 UTC --- Created attachment 24686 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24686 minimal test case

[Bug c++/49637] New: template function overload incorrectly ambiguous

2011-07-04 Thread timothyjgiese at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49637 Summary: template function overload incorrectly ambiguous Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: una