<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>プログラミング言語C++のオブジェクトに対する基本操作として、コピー可能(copyable)／ムーブ可能(movable)／交換可能(swappable)の3段階が存在する。C++における最も原始的なオブジェクト操作は交換(swap)であり、ムーブ(move)、コピー(copy)の順にオブジェクト型に対する要件が拡張される関係にある。*1 交換可能(swappable)：2つの変数間で「値の入れ替え」を行える。（例：無効値表現を持たないオブジェクト*2） ムーブ可能(movable)：交換可能かつ、別の変数へ「値の移動」を行える。（例：std::unique_ptr&lt;T&gt;） コピー可能(cop…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20220726%2Fp1&quot; title=&quot;C++オブジェクト基本操作：Copyable/Movable/Swappable - yohhoyの日記&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>2022-07-26 00:00:00</published>
  <title>C++オブジェクト基本操作：Copyable/Movable/Swappable</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20220726/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
