{"width":"100%","provider_url":"https://hatena.blog","url":"https://osyo-manga.hatenadiary.org/entry/20120323/1332507615","title":"c_function \u306e\u578b\u63a8\u8ad6\u7248","type":"rich","categories":["C++"],"height":"190","description":"\u3092\u3061\u3087\u3063\u3068\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 [\u30bd\u30fc\u30b9] #include <type_traits> #include <functional> template<typename Unique, typename Func> struct to_function_impl{ template <typename To> operator To() const{ return to(To{}); } template<typename Result, typename ...Args, typename To = Result(*)(Args...)> To to(Result(*)(Args...)) co\u2026","image_url":null,"version":"1.0","blog_url":"https://osyo-manga.hatenadiary.org/","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","author_name":"osyo-manga","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/osyo-manga/","published":"2012-03-23 22:00:15","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20120323%2F1332507615\" title=\"c_function \u306e\u578b\u63a8\u8ad6\u7248 - 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>"}