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

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sat May 5 17:41:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53236

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-05-05 16:32:18 UTC ---
I agree that the code needs to be rejected, but I think the invalid expression
should be

ov.get<double>()

instead of

ov.get<int>()

as indicated by the code comment. The same defect also exists in 4.8.0 HEAD.



More information about the Gcc-bugs mailing list