<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pyopyopyo</author_name>
  <author_url>https://blog.hatena.ne.jp/pyopyopyo/</author_url>
  <blog_title>pyopyopyo - Linuxとかプログラミングの覚え書き - </blog_title>
  <blog_url>https://pyopyopyo.hatenablog.com/</blog_url>
  <categories>
    <anon>c++</anon>
    <anon>programming</anon>
  </categories>
  <description>C++20でやっとSFINAE（Substitution Failure Is Not An Error）が実用レベル（？）になったので，まとめておきますC++20版のSFINAEだけでなく，C++17版やC++11以前版のSFINAEも用意しました． 見比べると如何にC++11がクソで，C++20が素晴らしいかが一目で理解できると思います． お題： メンバ関数 func() の存在チェック SFINAEはC++テンプレートメタプログラミングの（実質的）基礎ですここではSFINAEの例として，class X について void X::func() が利用可能か否かの判定するテンプレートを作成し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpyopyopyo.hatenablog.com%2Fentry%2F2025%2F05%2F12%2F183000&quot; title=&quot;C++20の concepts を使ったSFINAE - pyopyopyo - Linuxとかプログラミングの覚え書き - &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>https://cdn.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-12 18:30:00</published>
  <title>C++20の concepts を使ったSFINAE</title>
  <type>rich</type>
  <url>https://pyopyopyo.hatenablog.com/entry/2025/05/12/183000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
