Hi CornedBee,


Are you challenging g(int) is not be able to instantise template function f to f(int)? Bjarne said it could...

Refer to the book The C++ Programming Language, section C.13.8.3 Point of Instantiatant Binding.

Any comments?

Quote Originally Posted by CornedBee View Post
Uh, what? g isn't a template function, and the example as given is unambiguous. It's also not what's in my version of TC++PL. Are you sure you've reproduced it correctly?

regards,
George