<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mahou_ptr</author_name>
  <author_url>https://blog.hatena.ne.jp/mahou_ptr/</author_url>
  <blog_title>ゲーム作りは楽しい</blog_title>
  <blog_url>https://mahou-ptr.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>自作列挙型を作っていますが enumから文字列への変換をめちゃスマートに扱えるように実装できたと思ったがMSVCでしかコンパイルできないコンパイラ依存になってしまった メモ程度にコードをあげておきます #pragma once #include&lt;string&gt; #include&lt;unordered_map&gt; #define EXPAND( x ) x #define IE_FOR_EACH_1(_macro,e1)_macro(e1) #define IE_FOR_EACH_2(_macro,e1,...) _macro(e1) EXPAND( IE_FOR_EACH_1(_macro,__V…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmahou-ptr.hatenablog.com%2Fentry%2F2017%2F10%2F11%2F220933&quot; title=&quot;自作列挙型　enum to string メモ書き - ゲーム作りは楽しい&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-10-11 22:09:33</published>
  <title>自作列挙型　enum to string メモ書き</title>
  <type>rich</type>
  <url>https://mahou-ptr.hatenablog.com/entry/2017/10/11/220933</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
