C++ Static member initialization (template fun inside)
This was discussed on usenet some time ago, while i was trying to answer another question on stackoverflow: Point of Instantiation of Static Data Members. I think it’s worth reducing the test-case, and considering each scenario in isolation, so let’s look at it more general first: struct C { C(int n) { printf(“%d\n”, n); } … Read more