template_depth

Controls how many nested or recursive class templates you can instantiate.

Syntax

#pragma template_depth(n)

Targets
All platforms.
Remarks

This pragma lets you increase the number of nested or recursive class template instantiations allowed. By default, n equals 64; it can be set from 1 to 30000. You should always use the default value unless you receive the error message template too complex or recursive.

This pragma does not correspond to any panel setting.