<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potisan</author_name>
  <author_url>https://blog.hatena.ne.jp/potisan/</author_url>
  <blog_title>potisanのプログラミングメモ</blog_title>
  <blog_url>https://potisan-programming-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>STL</anon>
  </categories>
  <description>C++にはintやdoubleといったC言語と共通の組み込み型（基本型）に加えてSTLの提供する型を使用できます。ここではSTLの提供する型のうち複数の型の値や無効値を一つの型としてまとめて扱う型variant、any、optionalを紹介します。 概要 variant any optional 補足 概要 クラス ヘッダー 概要 cpprefjpへのリンク variant &lt;variant&gt; テンプレート引数で与えた型のいずれかの値を保持する型。空状態も指定可能。 リンク any &lt;any&gt; どんな型の値でも保持できる型。 リンク optional &lt;optional&gt; 元の型の値か統一的…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2020%2F11%2F13%2F183616&quot; title=&quot;C++17 STL variant、any、optional - potisanのプログラミングメモ&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>2020-11-13 18:36:16</published>
  <title>C++17 STL variant、any、optional</title>
  <type>rich</type>
  <url>https://potisan-programming-memo.hatenablog.jp/entry/2020/11/13/183616</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
