<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yhayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/yhayashi/</author_url>
  <blog_title>Sobalipse日記</blog_title>
  <blog_url>https://yhayashi-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>C++の例外機構のテストをしている。C++の例外機構には、「例外仕様」と、Javaのようなtry〜catch構文がある。C++の例外仕様は奇妙だ。単に奇妙なだけならまだ救えるのだが、使える気がしない。C++の例外仕様は「この例外しか出ない」と宣言する。「契約による設計の概念」に近い。しかし、これに違反すると（デフォルトでは）一発でプログラムが落ちる。C++みたいに複雑なプログラムの中で、例外が（宣言したもの以外は）出ないことを保障するなんて、ライブラリをまったく使わないとかじゃない限り不可能ではないだろうか？ 実際に、Microsoftの実装系では、例外仕様は無効化されているようだ。予想外だっ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyhayashi-2.hatenadiary.org%2Fentry%2F20050830&quot; title=&quot;チェック済み例外 - Sobalipse日記&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-08-30 00:00:00</published>
  <title>チェック済み例外</title>
  <type>rich</type>
  <url>https://yhayashi-2.hatenadiary.org/entry/20050830</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
