regular pointer怎么翻译?
在一本讲标准模版库的书上看到这个词组,搞不懂是什么意思,
原书名:The Standard Template Library
里面有一句
For example,all the algorithms work on regular pointers.
这里的regular pointer该怎么怎么翻译?是什么意思?
[解决办法]
意思可能是这样:
因为算法的参数声明为迭代器,但传入一个C中那样的指针也是正确的.
[解决办法]
T*,对应于 auto_ptr, shared_ptr, scoped_ptr 之类。