<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nelnal</author_name>
  <author_url>https://blog.hatena.ne.jp/nelnal/</author_url>
  <blog_title>nelnalog.note</blog_title>
  <blog_url>https://nelnal.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++の殆どのコンパイラではコピーコンストラクタと代入演算子は必要であれば自動的に生成されます。 それらを デフォルトコピーコンストラクタ と デフォルト代入演算子 と言います。 class CTest { .... (コピーコンストラクタと代入演算子の宣言・定義なし) .... } void foo() { CTest data_a(...初期化...); ... CTest data_b(data_a); // デフォルトコピーコンストラクタを使用 CTest data_c = data_a; // デフォルト代入演算子を利用 } 提供される デフォルトコピーコンストラクタ と デフォルト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnelnal.hatenadiary.org%2Fentry%2F20060920%2F1158766440&quot; title=&quot; デフォルトコピーコンストラクタとデフォルト代入演算子の動作 - nelnalog.note&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>2006-09-20 00:34:00</published>
  <title> デフォルトコピーコンストラクタとデフォルト代入演算子の動作</title>
  <type>rich</type>
  <url>https://nelnal.hatenadiary.org/entry/20060920/1158766440</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
