From d3f3e02a37fc0f677fdddd42316c3183dc99969b Mon Sep 17 00:00:00 2001 From: Light-City <455954986@qq.com> Date: Tue, 5 Nov 2019 20:58:25 +0800 Subject: [PATCH] update --- stl_src/iterator.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stl_src/iterator.md b/stl_src/iterator.md index 783dbbc..aa89220 100644 --- a/stl_src/iterator.md +++ b/stl_src/iterator.md @@ -10,7 +10,7 @@ 上一节指出了迭代器的作用,依旧如下图所示: -![](http://pxz2lirgn.bkt.clouddn.com/rela.png) +![](https://raw.githubusercontent.com/Light-City/cloudimg/master/rela.png) 迭代器是指向序列元素的指针的一种抽象。通过使用迭代器,我们可以访问序列中的某个元素、改变序列中的某个元素的值、使迭代器向前或向后行走等等。 @@ -23,7 +23,7 @@ - 单向移动读写迭代器 Forward Iterator - 双向移动读写迭代器 Bidirectional Iterator -![](http://pxz2lirgn.bkt.clouddn.com/iterator.png) +![](https://raw.githubusercontent.com/Light-City/cloudimg/master/iterator.png) 例如:我们实现了 advanceII, advanceBI, advanceRAI 分别代表迭代器类型是Input Iterator,Bidirectional Iterator和Random Access Iterator的对应实现。 @@ -49,7 +49,7 @@ void advance(Iterator& i) { 下面来进行实现,首先给出一个总体结构图: -![](http://pxz2lirgn.bkt.clouddn.com/itera.png) +![](https://raw.githubusercontent.com/Light-City/cloudimg/master/itera.png) 定义出下面tag: