8.136 --nonstd_qualifier_deduction, --no_nonstd_qualifier_deduction

Controls whether or not nonstandard template argument deduction is performed in the qualifier portion of a qualified name in C++.

With this feature enabled, a template argument for the template parameter T can be deduced in contexts like A<T>::B or T::B. The standard deduction mechanism treats these as nondeduced contexts that use the values of template parameters that were either explicitly specified or deduced elsewhere.


The option --nonstd_qualifier_deduction is provided only as a migration aid for legacy source code that does not conform to the C++ standard. ARM does not recommend its use.


This option is effective only if the source language is C++.


The default is --no_nonstd_qualifier_deduction.

Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.