<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pyopyopyo</author_name>
  <author_url>https://blog.hatena.ne.jp/pyopyopyo/</author_url>
  <blog_title>pyopyopyo - Linuxとかプログラミングの覚え書き - </blog_title>
  <blog_url>https://pyopyopyo.hatenablog.com/</blog_url>
  <categories>
    <anon>c++</anon>
  </categories>
  <description>今時のc++ (c++11など）でコピー禁止，代入禁止のクラスを作る方法 template &lt;class T&gt; struct CRTPnoncopyable { CRTPnoncopyable(const CRTPnoncopyable&amp;) = delete; CRTPnoncopyable&amp; operator=(const CRTPnoncopyable &amp;) = delete; }; class A : CRTPnoncopyable&lt;A&gt; {}; これでclass Aはコピー禁止になる*1 *2Boost の noncopyable を使う方法もある *3 #include &lt;boost…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyopyopyo.hatenablog.com%2Fentry%2F20180118%2Fp1&quot; title=&quot; class を noncopyable にする - pyopyopyo - Linuxとかプログラミングの覚え書き - &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/51ng4usMVYL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-18 00:00:00</published>
  <title> class を noncopyable にする</title>
  <type>rich</type>
  <url>https://pyopyopyo.hatenablog.com/entry/20180118/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
