I am trying to wrap my head around example from TC++PL, 4th edition (p.751).
void fff()
{
struct S { int a,b; };
vector<S> vs;
// ...
}
From the discussion, it follows that the point of instantiation of vector<S> is just before the definition of void fff(). However, struct S is not visible outside void fff(). What is proper way to think of the instantiation point with local classes as template arguments?