force compiler to generate whole class template
how can I force compiler, to generate whole class template? not just methods I use? I am sure I read it in template complete guide book, but I can not find it. It was one-line statement.
I am not able to ask google th开发者_Python百科e right question.
Thank you!
You can explicitly instantiate a class template with something like this:
template class Foo<Argument1,Argument2>;
精彩评论