<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>少しまえから、オブジェクトからハッシュ値の計算を自動的に行いたい、という話がでていました。C++1z時点ではそのサポートは入りませんが、前準備として、自動的にハッシュ値を求められる型かを判別するためのhas_unique_object_representationsという型特性が入ります。 この型特性は、パディングビットを持たないtrivially copyableな型(memcpyできる型)や、その配列に対して真を返します。 宣言 // &lt;type_traits&gt; namespace std { template &lt;class T&gt; struct has_unique_object_repr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2016%2F09%2F23%2F143031&quot; title=&quot;C++1z has_unique_object_representations型特性 - Faith and Brave - C++で遊ぼう&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>2016-09-23 14:30:31</published>
  <title>C++1z has_unique_object_representations型特性</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2016/09/23/143031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
