<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>derwind</author_name>
  <author_url>https://blog.hatena.ne.jp/derwind/</author_url>
  <blog_title>らんだむな記憶</blog_title>
  <blog_url>https://randommemory.hatenablog.com/</blog_url>
  <categories>
    <anon>C/C++</anon>
  </categories>
  <description>#include &lt;cstdio&gt; constexpr int num(int a = 1) { if ( a == 1 ) { return 314; } else { return 271; } } int main(void) { char buf[ num(1) ]; printf(&quot;%lu\n&quot;, sizeof(buf)); return 0; } こんなの書いて、 $ clang++ -O3 -S -o main.s -std=c++14 main.cpp してみると、 .section __TEXT,__text,regular,pure_instructions .macosx…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2017%2F02%2F04%2F201510&quot; title=&quot;constexpr - らんだむな記憶&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>2017-02-04 20:15:10</published>
  <title>constexpr</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2017/02/04/201510</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
