What is POI? I have seen this term being used several times in context of C++ Templates. What does it mean?
+5
A:
Point Of Instantiation. It's important with templates largely because the meaning of a symbol inside the template can depend on the meaning attached to that symbol at the point of instantiation.
Jerry Coffin
2010-10-05 17:40:58
thank u for the answer.
Jamie Lawson
2010-10-05 17:56:03
+7
A:
POI means Point Of Instantiation.
From C++ Templates : The Complete Guide
10.3.2 Points of Instantiation
A point of instantiation (POI) is created when a code construct refers to a template specialization in such a way that the definition of the corresponding template needs to be instantiated to create that specialization. The POI is a point in the source where the substituted template could be inserted.:
Prasoon Saurav
2010-10-05 17:46:12
The book is not available for free. You can buy it [here](http://www.amazon.com/Templates-Complete-Guide-David-Vandevoorde/dp/0201734842)
Prasoon Saurav
2010-10-05 17:52:10