<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Isoparametric</author_name>
  <author_url>https://blog.hatena.ne.jp/Isoparametric/</author_url>
  <blog_title>神様なんて信じない僕らのために</blog_title>
  <blog_url>https://isoparametric.hatenablog.com/</blog_url>
  <categories>
    <anon>c/c++</anon>
  </categories>
  <description>追記： - どうも誤解（こちらの誤読）だった様子。 恐らく多くの実装のiteratorは型としてはiteratorだが、実装上はポインタで成されているため、 最適化の恩恵を受けるとそれはポインタ演算をしていることと等価になる。 要するに、 ++itは、アドレスをインクリメントすることと等価になる。 *itはアドレスの中身を参照することと等価になる。 よって、配列に比べて遅い理由がないということです。 - id:faith_and_brave さんより vectorのiteratorは、古いコンパイラなんかはポインタだったみたいですが 最近のコンパイラはそうじゃないと思います これは大変興味深い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20090319%2F1237430189&quot; title=&quot;最近のコンパイラではvectorのiteratorはポインタで実装されていない？ - 神様なんて信じない僕らのために&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-19 11:36:29</published>
  <title>最近のコンパイラではvectorのiteratorはポインタで実装されていない？</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20090319/1237430189</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
