<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>C++2a</anon>
  </categories>
  <description>C++2a(C++20)コンセプトでは制約式(constraint-expression)に論理積(&amp;&amp;)／論理和(||)／論理否定(!)を表現できるが、制約式を用いたオーバーロード解決では通常の論理演算で期待される ド・モルガンの法則(De Morgan's laws) は適用されない。*1超要約：否定演算!を使ったコンセプトには要注意！ // C++2a #include &lt;concepts&gt; // integral, same_asコンセプト template &lt;typename T&gt; requires (!std::integral&lt;T&gt;) void f(T) { /*...*/ } …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20200815%2Fp1&quot; title=&quot;C++コンセプトとド・モルガンの法則 - yohhoyの日記&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>2020-08-15 00:00:00</published>
  <title>C++コンセプトとド・モルガンの法則</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20200815/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
