------- 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