971031 and 971105: friendly template functions are not instantiated

Kevin Buhr buhr@stat.wisc.edu
Fri Nov 7 13:41:00 GMT 1997


Alexandre Oliva <oliva@dcc.unicamp.br> writes:
> 
> It will.  the problem is that C++ allows a non-template function and a
> template specialization to have the same signature.  So, when you
> refer to the template specialization, you must use angle brackets:

Curses!

Okay, this sufficiently enlightens me.  It appears that there was a
bug in the 971031 "iterator.h" which lead me down this rocky path.
The "iterator.h" bug (and many like it) have been fixed in 971105 by a
generous helping of "__STL_NULL_TMPL_ARGS", so all is right with my
world again.

Thanks for your help.

Kevin <buhr@stat.wisc.edu>



More information about the Gcc-bugs mailing list