<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>C++でゲームプログラミング</blog_title>
  <blog_url>https://osyo-manga.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>clang</anon>
  </categories>
  <description>多分、先月末だと思うんですが Clang に Relaxing constraints on constexpr functions が実装されました。 C++11 の constexpr 関数はいろいろと制限があったんですが、C++14 ではこれが緩和され、一般ユーザー（非中3女子）にも扱いやすくなります。 例えば次のようなコードを記述することができます。 [ソース] constexpr int abs(int x){ if( x &lt; 0 ){ x = -x; } return x; } template&lt;int Size&gt; constexpr int max(int const (&amp;arr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20130805%2F1375705044&quot; title=&quot;Clang(svn) に Relaxing constraints on constexpr functions が実装されていた - 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>2013-08-05 21:17:24</published>
  <title>Clang(svn) に Relaxing constraints on constexpr functions が実装されていた</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20130805/1375705044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
