Visual C++ - 设置模板实例化的深度 [英] Visual C++ - Set the depth of template instantiation

查看:32
本文介绍了Visual C++ - 设置模板实例化的深度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Can I change the depth of template instantiation when compiling with the Visual Studio compiler?

我需要一个相当于 gcc 的

I need an equivalent of gcc's

-ftemplate-depth = Num

推荐答案

没有.固定为 2048.请参阅 http://msdn.microsoft.com/en-us/library/ft39hh4x.aspx.

No. It is fixed at 2048. See http://msdn.microsoft.com/en-us/library/ft39hh4x.aspx.

这篇关于Visual C++ - 设置模板实例化的深度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆