<?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>
    <anon>C</anon>
  </categories>
  <description>C++2a(C++20)で導入予定のDesignated Initialization（指示付きの初期化）ついてメモ。C99での同一言語機能をベースとするが、一部機能制限された形でC++に導入される。 // C++2a(C++20) struct Point { int x, y; }; void f(Point); f({ .x = 100, .y = 50 }); // OK: Designated Initialization // 指示子順==メンバ宣言順 が条件 f({ .y = 50, .x = 100 }); // NG C++2a言語機能とC99言語機能との差異は下表の通り（P…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20170820%2Fp1&quot; title=&quot;Designated Initialization @ 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>2017-08-20 00:00:00</published>
  <title>Designated Initialization @ C++</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20170820/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
