Visual C++-设置模板实例化的深度

Visual C++ - Set the depth of template instantiation

本文关键字:实例化 深度 C++- 设置 Visual      更新时间:2023-10-16

使用Visual Studio编译器编译时,我可以更改模板实例化的深度吗?

我需要一个相当于gcc的

-ftemplate-depth = Num

否。固定为2048。看见http://msdn.microsoft.com/en-us/library/ft39hh4x.aspx.