[Bug c++/53236] using declaration and base function template overloading

2012-05-07 Thread fpelliccioni at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #8 from Fernando Pelliccioni fpelliccioni at gmail dot com 2012-05-07 13:24:02 UTC --- Sorry, the comments were wrong. Here the corrected code with proper comments. Tested with GCC 4.7.1 and GCC 4.6.3 // g++ -std=c++0x

[Bug c++/53236] using declaration and base function template overloading

2012-05-07 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #9 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-05-07 13:50:10 UTC --- (In reply to comment #8) [..] Here the corrected code with proper comments. [..] auto yyy = d.getint();// #ifndef

[Bug c++/53236] using declaration and base function template overloading

2012-05-07 Thread fpelliccioni at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #10 from Fernando Pelliccioni fpelliccioni at gmail dot com 2012-05-07 13:58:38 UTC --- (In reply to comment #9) (In reply to comment #8) [..] Here the corrected code with proper comments. [..] auto yyy = d.getint();//

[Bug c++/53236] using declaration and base function template overloading

2012-05-06 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #7 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-05-06 17:34:10 UTC --- (In reply to comment #5) Here is a simplified code - gcc_error_simple.cpp Shows two facets of the error. See the comments in the attached

[Bug c++/53236] using declaration and base function template overloading

2012-05-05 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug c++/53236] using declaration and base function template overloading

2012-05-05 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 fabien at gcc dot gnu.org changed: What|Removed |Added CC||fabien at gcc dot gnu.org ---

[Bug c++/53236] using declaration and base function template overloading

2012-05-05 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #3 from Daniel Krügler daniel.kruegler at googlemail dot com 2012-05-05 18:57:03 UTC --- Reduced test-case: //- templatetypename, typename, typename struct enable_same {}; templatetypename T, typename U struct enable_sameT, T, U

[Bug c++/53236] using declaration and base function template overloading

2012-05-05 Thread fpelliccioni at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #4 from Fernando Pelliccioni fpelliccioni at gmail dot com 2012-05-05 21:58:53 UTC --- Created attachment 27321 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27321 simplified source code version

[Bug c++/53236] using declaration and base function template overloading

2012-05-05 Thread fpelliccioni at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #5 from Fernando Pelliccioni fpelliccioni at gmail dot com 2012-05-05 22:00:05 UTC --- Here is a simplified code - gcc_error_simple.cpp Shows two facets of the error. See the comments in the attached file.

[Bug c++/53236] using declaration and base function template overloading

2012-05-05 Thread fpelliccioni at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236 --- Comment #6 from Fernando Pelliccioni fpelliccioni at gmail dot com 2012-05-05 22:01:23 UTC --- // g++ -std=c++11 gcc_error_simple.cpp // g++ -DWITH_USING_DECLARATION -std=c++11 gcc_error_simple.cpp #include iostream #include type_traits