Quote:
1. I think f is instantised when we define function g, and T is int, deduced by the definition of g;
This is wrong. g's definition does not even acknowledge the existence of f, so why would it cause its instantiation?
Quote:
Bjarne said, the point of instantiation for f<int> is just before h(), so the g() called in f() is the global g(int) rather than the local g (double).
Seems your points conflict with Bjarne's? :-)
Not at all. There is no relation, much less a conflict, between Elysia's and Bjarne's statements.