<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>C++1zでは、非型テンプレート引数(non-type template argument)で扱える型はとくに変わりませんが、渡せる値についての制限緩和が行われます。 今回緩和されるのは、ポインタの値です。C++14までは、以下のような制限がありました： 静的記憶域を持つ完全オブジェクトへのポインタ値もしくは参照、もしくは ヌルポインタ値に評価される定数式、 ヌルメンバポインタ値に評価される定数式であること つまり、staticでないオブジェクトへのポインタは、ヌルポインタしか渡せなかったのです。 C++1zではこの制限が撤廃され、定数式で評価されるポインタならなんでも渡せるようになります。そ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2016%2F10%2F27%2F180801&quot; title=&quot;C++1z 全ての非型テンプレート引数の定数式評価を許可 - Faith and Brave - 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>2016-10-27 18:08:01</published>
  <title>C++1z 全ての非型テンプレート引数の定数式評価を許可</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2016/10/27/180801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
