{"url":"https://faithandbrave.hateblo.jp/entry/20120327/1332832514","author_name":"faith_and_brave","width":"100%","blog_title":"Faith and Brave - C++\u3067\u904a\u307c\u3046","height":"190","blog_url":"https://faithandbrave.hateblo.jp/","provider_url":"https://hatena.blog","version":"1.0","description":"C++11\u3067\u3001enum/enum class\u306b\u5143\u3068\u306a\u308b\u6574\u6570\u578b\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u3053\u308c\u306b\u3068\u3082\u306a\u3044\u3001\u306bstd::underlying_type\u3068\u3044\u3046enum\u306ebase type\u3092\u53d6\u5f97\u3059\u308b\u30e1\u30bf\u95a2\u6570\u304c\u5165\u308a\u307e\u3057\u305f\u3002 #include <type_traits> enum class e1 : int {}; enum class e2 : char {}; enum e3 : std::size_t { e }; using e1_type = std::underlying_type<e1>::type; using e2_type = std::underlying_type<e2>::\u2026","title":" enum\u306ebase type\u3092\u53d6\u5f97\u3059\u308b","provider_name":"Hatena Blog","categories":["C++"],"author_url":"https://blog.hatena.ne.jp/faith_and_brave/","published":"2012-03-27 16:15:14","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20120327%2F1332832514\" title=\" enum\u306ebase type\u3092\u53d6\u5f97\u3059\u308b - Faith and Brave - C++\u3067\u904a\u307c\u3046\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null}