<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yhayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/yhayashi/</author_url>
  <blog_title>Sobalipse日記</blog_title>
  <blog_url>https://yhayashi-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>定番を読み終わった。C++は難しい。自分の周りの達人プログラマが避けている理由がわかる（彼は、オブジェクトの値渡し・参照渡しを一切使わず、すべてポインタ渡しをしている）。結局、彼の通り、オブジェクトはポインタ渡しに限定するのが良いのかも。あと、最近知ったのだが、追加ライブラリで「スマートポインタ」というものがあるらしい。ポインタがスコープから外れたら、メモリを回収するというすぐれもの。これを使ったらほとんどJavaやC#と同じになりそうだ。次は、ポインタの生存範囲について、C++特有のものがあるのか研究してみようと思う。ちなみに、Javaプログラマでも、nullポインタをフラグに使っている人が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyhayashi-2.hatenadiary.org%2Fentry%2F20050815&quot; title=&quot;C++二冊目 - Sobalipse日記&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>https://images-fe.ssl-images-amazon.com/images/I/21kDXzsvwXL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-08-15 00:00:00</published>
  <title>C++二冊目</title>
  <type>rich</type>
  <url>https://yhayashi-2.hatenadiary.org/entry/20050815</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
