<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Nabetani</author_name>
  <author_url>https://blog.hatena.ne.jp/Nabetani/</author_url>
  <blog_title>鍋あり谷あり</blog_title>
  <blog_url>https://nabetani.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>C++の不思議な仕様をもう一つ発見。やはり C++ は発見に満ちている。 enum E{ EZero = 0 }; const int zero = 0; void test() { char * c; c = EZero; // これはエラー c = false; c = 1&lt;0; c = '\0'; c = 0; // これは正しいに決まっている。 c = zero; // これも正しいに決まっている。 c = 1/3; // 正しいけど。 c = 0UL; c = 0.0; // これはエラー c = static_cast&lt;int&gt;( 0.1 ); }私にはやや意外な仕様なんだが、「こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnabetani.hatenadiary.com%2Fentry%2F20051118%2Fp2&quot; title=&quot;私の知らなかった 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>2005-11-18 00:00:02</published>
  <title>私の知らなかった C++ もうひとつ</title>
  <type>rich</type>
  <url>https://nabetani.hatenadiary.com/entry/20051118/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
