I ran into the Visual C++ template recursion limit for nested templates yesterday. In VS2012 it's apparently capped at 500, with no way to adjust it (a least none that I can find). With
gcc
, at least the -ftemplate-depth
option is available. Why, Microsoft, why? If you're going to put a cap on it, especially a hard cap that can't be adjusted, couldn't you at least conform to the recommended minimum (1024) from Annex B of the Standard?