且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否可以在g ++中启用数组边界检查?

更新时间:2023-12-01 19:31:34

不是在编译时。您可以在运行时检查它。

Not at compile time. You might be able to check that at runtime though.

有关详情,请参阅:
使用g ++运行数组边界检查

For that take a look at: Runtime array bounds checking with g++