None.
Specifies the maximum number of recursively instantiated template specializations that will be processed by the compiler.
-qtemplatedepth=300
Note that setting this option to a high value can potentially cause an out-of-memory error due to the complexity and amount of code generated.
None.
template <int n> void foo() {
foo<n-1>();
}
template <> void foo<0>() {}
int main() {
foo<400>();
}
Enter: xlc++ myprogram.cpp -qtemplatedepth=400