{"description":"\u30d0\u30ea\u30a2\u30f3\u30c8\u306e\u914d\u5217\u3092\u6587\u5b57\u5217\u304b\u3089\u751f\u6210\u3057\u3066\u904a\u3093\u3067\u307f\u307e\u3057\u305f\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046\u3068\u578b\u60c5\u5831\u306b\u3088\u308b switch & case \u304c\u306a\u304f\u3066\u6c17\u6301\u3061\u3044\u3044\u3067\u3059\u306d\u3002C++17 \u4ee5\u964d\u306e\u74b0\u5883\u306a\u3089 Variant \u306b\u306f std::variant<> \u3092\u4f7f\u3046\u3079\u304d\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3082\u3002 #include <string> #include <sstream> #include <vector> #include <memory> #include <stdexcept> // boost::lexical_cast<> \u307f\u305f\u3044\u306a\u3082\u306e struct Lexer { template <class Type> static Type \u2026","provider_name":"Hatena Blog","blog_title":"Chiharu \u306e\u65e5\u8a18","published":"2018-08-04 11:43:38","type":"rich","author_name":"chiharunpo","version":"1.0","blog_url":"https://chiharunpo.hatenablog.com/","url":"https://chiharunpo.hatenablog.com/entry/20180804/1533350618","width":"100%","categories":["C++"],"height":"190","title":"\u30d0\u30ea\u30a2\u30f3\u30c8\u306e\u914d\u5217","image_url":null,"author_url":"https://blog.hatena.ne.jp/chiharunpo/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiharunpo.hatenablog.com%2Fentry%2F20180804%2F1533350618\" title=\"\u30d0\u30ea\u30a2\u30f3\u30c8\u306e\u914d\u5217 - Chiharu \u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog"}