<?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>１．自分でvectorを書く 死亡フラグ。／(^o^)＼ イテレータも使えないカスコンテナができる可能性99.9%。 今すぐ死んだ方が良い。 ２．STLのvectorをprotected継承してカスタマイズする 例えばこんな感じ。 C++ code - 40 lines - codepad これは最初からreserveしておくSTLのvector、インターフェイス制御可。 これをすることで、例えばpush_backの際にcapacityが変化したか、といったような事を監視できるし、 （ただし、insertなどのメソッドでもcapacityは変化する） 使わせたくないインターフェイスを公開しない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20091105%2F1257380532&quot; title=&quot;STLのvectorに文句を言わずに自分で頑張る方法 - 神様なんて信じない僕らのために&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-11-05 09:22:12</published>
  <title>STLのvectorに文句を言わずに自分で頑張る方法</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20091105/1257380532</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
