<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chihayayoi</author_name>
  <author_url>https://blog.hatena.ne.jp/chihayayoi/</author_url>
  <blog_title>ゆき社長</blog_title>
  <blog_url>https://chihaya.hatenadiary.com/</blog_url>
  <categories>
    <anon>C言語関連</anon>
  </categories>
  <description>C++って言語仕様が多くて大変なので 勉強＆復習しながら メモ残します ってことで、結構難しい コンストラクタちゃんです。 本当はコンストラクタだけで ５，６個はTipsあるのですが とりま コンストラクタの種類 class Cがあった場合 C(); // デフォルトコンストラクタ C( const C&amp; rhs); // コピーコンストラクタ C&amp; operator=( const C&amp; rhs); // 代入演算子 上記3つはコンパイラによって自動生成されます。が、メンバをそのままmemcpyするので たとえばポインタを内部で持っている場合は、コピーしたClassも同じポインタを参照するの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchihaya.hatenadiary.com%2Fentry%2F2013%2F11%2F19%2F082619&quot; title=&quot;コピーコンストラクタ＆代入演算子＆ムーブコンストラクタ＆ムーブ代入演算子 - ゆき社長&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>2013-11-19 08:26:19</published>
  <title>コピーコンストラクタ＆代入演算子＆ムーブコンストラクタ＆ムーブ代入演算子</title>
  <type>rich</type>
  <url>https://chihaya.hatenadiary.com/entry/2013/11/19/082619</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
