7.84 --implicit_key_function, --no_implicit_key_function

Controls whether an implicitly instantiated template member function can be selected as a key function.

Normally the key, or decider, function for a class is its first non-inline virtual function, in declaration order, that is not pure virtual. However, in the case of an implicitly instantiated template function, the function would have vague linkage, that is, might be multiply defined.
Remark #2819-D is produced when a key function is implicit. This remark can be seen with --remarks or with --diag_warning=2819.

Default

The default is --implicit_key_function.
Related reference
7.49 --diag_warning=tag[,tag,...]
7.143 --remarks
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.