C++ User's Guide

-template=w

Enables/disables various template options.

Values

w must be wholeclass or no%wholeclass.

[no%]wholeclass

 

Does [not] instantiate a whole template class, rather than only those functions that are used. You must reference at least one member of the class; otherwise, the compiler does not instantiate any members for the class.