<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Effective C++</anon>
  </categories>
  <description>オブジェクトのコピー関連のメンバ関数は(C++11より前の場合）Copy ConstructorとCopy Assignmentの二つ。(C++11以降はMove関連のものも・・・） これらはコンストラクタとデストラクタと合わせて、コンパイラがデフォルトで書いてくれる、という話は以前の項目でも出ていた。 そのデフォルトを使わず、自分でコピー関連を書く場合、 自身のローカルメンバデータはすべて明示的にコピー すべてのベースクラスのcopy constructor/assignmentを明示的に呼び出す の二点を忘れると、データの一部がデフォルトコンストラクタで初期化されたままになり、正しいコピー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2018%2F03%2F10%2F221133&quot; title=&quot;Effective C++勉強メモ: Item 12　Copyメンバ関数を自分で書く場合は気をつける - Arantium Maestum&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>2018-03-10 22:11:33</published>
  <title>Effective C++勉強メモ: Item 12　Copyメンバ関数を自分で書く場合は気をつける</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2018/03/10/221133</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
