?? free.cpp
字號:
#include "testsuite.h"#include <blitz/array.h>BZ_USING_NAMESPACE(blitz)int main(){ Array<int,1> A(16384); Array<int,1> B(A); A.free(); BZTEST(A.data() == 0); BZTEST(A.extent(0) == 0); B = 0; // If B's data was accidentally freed, then will hopefully // cause a segment violation B.free(); BZTEST(B.data() == 0); BZTEST(B.extent(0) == 0); return 0;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -