RAD Studio
ContentsIndex
PreviousUpNext
E2424: Template class nesting too deep: 'class' (C++)

The compiler imposes a certain limit on the level of template class nesting. This limit is usually only exceeded through a recursive template class dependency. 

When this nesting limit is exceeded, the compiler issues this error message for all of the nested template classes. This usually makes it easy to spot the recursion. 

This error message is always followed by the fatal error "Out of memory".

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!