pep*_*ico 3 gcc clang compiler-options constexpr
可以通过 clang 或 gcc 的命令行选项配置 constexpr 编译时递归限制吗?如何?
当我超出 gcc 的限制时,我收到以下错误消息:
error: constexpr evaluation depth exceeds maximum of 512 (use -fconstexpr-depth= to increase the maximum)
Run Code Online (Sandbox Code Playgroud)
根据文档,clang 理解相同的选项。
| 归档时间: |
|
| 查看次数: |
733 次 |
| 最近记录: |