Reputation: 7834
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 the right question.
Thank you!
Upvotes: 1
Views: 351
Reputation: 234654
You can explicitly instantiate a class template with something like this:
template class Foo<Argument1,Argument2>;
Upvotes: 5