Monday, November 22, 2010

Templates and C Linkage

A template cannot be defined or declared inside an extern "C" block, i.e., it cannot have "C linkage".

Reference: C++ Templates by David Vandevoorde and Nicolai M. Jouttis. Addison-Wesley, 2003

No comments:

Post a Comment