On Wednesday, 15 October 2014 at 06:18:48 UTC, Jacob Carlborg wrote:
On 2014-10-15 01:01, Andrei Alexandrescu wrote:

Correct. Here's the syntax on the C++ side:
http://en.wikipedia.org/wiki/C++11#Extern_template -- Andrei

"extern template class std::vector<MyClass>;

which tells the compiler NOT to instantiate the template in this translation unit."

That sounds like the complete opposite of what's needed.


"C++03 has this syntax to oblige the compiler to instantiate a template:

template class std::vector<MyClass>;"

Reply via email to