<?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++03 での POD の定義にはいくつか問題があります。 【厳格すぎる要件】 これは、未定義動作に依存する愚かな設計を行なうことをユーザーに強います。たとえば、 std::pair 型の配列が2つある場合、 memcpy(A2, A1, sizeof(A2)) が安全だと期待するのが自然ですが、std::pair にはユーザー定義のコンストラクタがあるので集成体とは見なされず、 それは同時に POD とも見なされなくなるので、標準ではこれを未定義動作としています。 (でも、動いてしまうことがある) 【PODと集成体の結合】 POD の現在の定義は、集成体の定義に依存し、その結果いくつかの障…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20081127%2F1227777378&quot; title=&quot; C++0x POD再考 - 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>2008-11-27 18:16:18</published>
  <title> C++0x POD再考</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20081127/1227777378</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
