7.128 --parse_templates, --no_parse_templates

Enables and disables the parsing of nonclass templates in their generic form in C++, that is, when the template is defined and before it is instantiated.


The option --no_parse_templates 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 --parse_templates.


--no_parse_templates cannot be used with --dep_name, because parsing is done by default if dependent name processing is enabled. Combining these options generates an error.
Related reference
7.36 --dep_name, --no_dep_name
10.9 Template instantiation in ARM C++
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.