C++ User's Guide

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.