[Bug c++/4205] function template can call other function with incorrect parameters
gdr at integrable-solutions dot net
gcc-bugzilla@gcc.gnu.org
Sun Feb 1 22:57:00 GMT 2004
------- Additional Comments From gdr at integrable-solutions dot net 2004-02-01 22:57 -------
Subject: Re: function template can call other function with incorrect parameters
"japple at freeshell dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| ------- Additional Comments From japple at freeshell dot org 2004-02-01 22:42 -------
| (In reply to comment #8)
|
| > Not really. But yes, you have a point: GCC currently does not have
| > a uniform infrastructure for sharing codes for functions and
| > templates.
|
| See new bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13966
Thanks. I should have been clearer. Technically, this is a GNU
extension that really goes against the C++ committee clarification.
(I don't have the DR number off hand). There is a special code in
cp/pt.c to implement that extension. I remember having submitted a
patch to remove it; but at the time, some people think we should keep
it around. I don't necessarily agree.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4205
More information about the Gcc-bugs
mailing list