[Bug c++/23698] [4.1 Regression] accepts invalid

geoffk at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 15 22:20:00 GMT 2005


------- Additional Comments From geoffk at gcc dot gnu dot org  2005-09-15 22:20 -------
I think the relevant part of the C++ standard here is [temp.inst] paragraph 5:

If the overload resolution process can determine the correct function to call without instantiating a class 
template definition, it is unspecified whether that instantiation actually takes place.

-- 


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



More information about the Gcc-bugs mailing list