8.145 --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
8.47 --dep_name, --no_dep_name
11.9 Template instantiation in ARM C++
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.