[Bug c++/62085] SFINAE where specialization parameter class member returns an abstract type fails

2014-08-12 Thread jameslyon0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62085 --- Comment #3 from James Lyon --- Thanks for looking! Unfortunately I don't have access to EDG. I have dug through the standard and it seems my understanding of SFINAE was (is) a bit lacking and GCC is indeed correct. It seems there's a bug in

[Bug c++/62085] SFINAE where specialization parameter class member returns an abstract type fails

2014-08-10 Thread jameslyon0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62085 --- Comment #1 from James Lyon --- Created attachment 33287 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33287&action=edit Test case Seems I messed up attaching the test the first time :)

[Bug c++/62085] New: SFINAE where specialization parameter class member returns an abstract type fails

2014-08-10 Thread jameslyon0 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jameslyon0 at gmail dot com The attached code fails to compile with: sfinae.cpp: In instantiation of ‘struct A’: sfinae.cpp:14:8: required from here sfinae.cpp:3:5