{"width":"100%","published":"2011-12-18 23:14:48","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","categories":["C++"],"description":"\u6587\u5b57\u5217\u3067\u53d7\u3051\u53d6\u308b\u5834\u5408\u306f\u3001prefix \u3082\u4e00\u7dd2\u306b\u6e21\u3055\u308c\u308b\u3093\u3067\u3059\u306d\u30fc\u3002 [\u30bd\u30fc\u30b9] #include <iostream> char const* operator \"\" _c_str(char const* str){ return str; } int main(){ std::cout << 0xff << std::endl; std::cout << 0xff_c_str << std::endl; std::cout << 0777 << std::endl; std::cout << 0777_c_str << std::endl; return 0; } [\u51fa\u529b] 255 0xff\u2026","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20111218%2F1324217688\" title=\"User-defined literals \u306716\u9032\u6570\u3092\u8868\u793a - C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","url":"https://osyo-manga.hatenadiary.org/entry/20111218/1324217688","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/osyo-manga/","height":"190","image_url":null,"blog_url":"https://osyo-manga.hatenadiary.org/","author_name":"osyo-manga","title":"User-defined literals \u306716\u9032\u6570\u3092\u8868\u793a"}