<?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>
  </categories>
  <description>さて、C++11 で新しく追加された Inheriting constructors という機能なんですが、これは次のように使うことが出来ます。 struct base{ constexpr base(int value) : value(value){} constexpr base(int value1, int value2) : value(value1 + value2){} int value; }; struct X : base{ // 基底クラスのコンストラクタを派生クラスで使用できるように定義 using base::base; }; // 基底クラスのコンストラクタが使用…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20121207%2F1354855294&quot; title=&quot;名前が分からない基底クラスでも Inheriting constructors したい - 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>2012-12-07 13:41:34</published>
  <title>名前が分からない基底クラスでも Inheriting constructors したい</title>
  <type>rich</type>
  <url>https://osyo-manga.hatenadiary.org/entry/20121207/1354855294</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
