<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>enum traits - std-proposals enumの各種情報を取得する、enum_traitsを追加したらどうか、という話。 enumの最小値、最大値、要素数、文字列との変換等。 ファーストアイディアのインタフェース： template &lt;typename E&gt; struct enum_traits&lt;E&gt; { static_assert(is_enum&lt;E&gt;::value, &quot;Only valid for enums!&quot;); typedef /* 基底の整数型 */ value_type; static constexpr const value_type min; // 最小値…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F2014%2F01%2F17%2F142213&quot; title=&quot;enum traitsの話 - Faith and Brave - 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>2014-01-17 14:22:13</published>
  <title>enum traitsの話</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/2014/01/17/142213</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
