<?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 でも Uniform initialization 使えたんですね。 知らなかった…。 [ソース] #include &lt;string&gt; #include &lt;cassert&gt; struct X{ int n; std::string str; }; X func(){ return {0, &quot;homu&quot;}; } int main(){ X x{0, &quot;homu&quot;}; auto x2 = func(); assert(x.n == 0); assert(x.str == &quot;homu&quot;); assert(x2.n == 0); assert(x2.str == &quot;homu&quot;); …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20111217%2F1324095598&quot; title=&quot;clang で Uniform initialization - 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>2011-12-17 13:19:58</published>
  <title>clang で Uniform initialization</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20111217/1324095598</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
