我正在浏览NTL代码,但是可以找到struct _ntl_gbigint_body定义:
$ grep -r _ntl_gbigint_body *
include/NTL/ZZ.h:WrappedPtr<_ntl_gbigint_body, Deleter> rep;
include/NTL/lip.h:struct _ntl_gbigint_body;
include/NTL/lip.h:typedef _ntl_gbigint_body *_ntl_gbigint;
Binary file src/RR.o matches
.....
Binary file src/GF2E.o matches
src/lip.cpp:typedef WrappedPtr<_ntl_gbigint_body, _ntl_gbigint_deleter> _ntl_gbigint_wrapped;
Binary file src/mat_ZZ_p.o matches
......我只是好奇它的定义在哪里。
发布于 2017-03-03 01:18:18
在与“NTL”一书的作者维克多·舒普讨论后,他给出了答案:
实际上从来没有宣布过。 指向它的指针就像一个空指针,但是有更好的错误检查。
https://stackoverflow.com/questions/42361419
复制相似问题