Also, the dereference operator, which allows reading and writing to a pointer.
另外还用作取消引用运算符,允许读取和写入指针。
Equally clearly, int or double may not: find uses the expression *first, and the dereference operator makes no sense for an object of type int or of type double.
同样的,或者不是int和double:find使用表达式 *first,这个废弃的操作使int对象或者double对象没有意义。
In case you're not up on your STL, recall that for iterators the dereference operator returns the current object, so the line inside the for loop in the preceding snippet is equivalent to.
如果你对STL不熟悉,去看看有关迭代器反引用操作符的内容,它返回当前指向的对象,上面代码段中,for循环里的代码等同于。
In case you're not up on your STL, recall that for iterators the dereference operator returns the current object, so the line inside the for loop in the preceding snippet is equivalent to.
如果你对STL不熟悉,去看看有关迭代器反引用操作符的内容,它返回当前指向的对象,上面代码段中,for循环里的代码等同于。
应用推荐