在使用 Visual Studio 编译器编译时,我可以更改模板实例化的深度吗?
我需要 gcc 的等价物
-ftemplate-depth = Num
最佳答案
没有。它固定为 2048。参见 http://msdn.microsoft.com/en-us/library/ft39hh4x.aspx .
关于c++ - Visual C++ - 设置模板实例化的深度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23375567/