<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amachang</author_name>
  <author_url>https://blog.hatena.ne.jp/amachang/</author_url>
  <blog_title>IT戦記</blog_title>
  <blog_url>https://amachang.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>概ね以下のような感じ template &lt;typename From, typename To&gt; struct is_convertible_basic_impl { // 2 つの同名関数を作って static no_type _m_check(...); static yes_type _m_check(To); // 関数の戻り値の型を見る（どっちの関数が使われるかを見る） static bool value = sizeof( _m_check(From) ) == sizeof(yes_type); }; これで From 型のオブジェクトが To 型に代入できるかが、コンパイル時に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famachang.hatenablog.com%2Fentry%2F20090707%2F1246943065&quot; title=&quot; boost::is_convertible はどうやってるか - IT戦記&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>2009-07-07 14:04:25</published>
  <title> boost::is_convertible はどうやってるか</title>
  <type>rich</type>
  <url>https://amachang.hatenablog.com/entry/20090707/1246943065</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
