{"height":"190","url":"https://secret-garden.hatenablog.com/entry/2015/03/05/000000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2015%2F03%2F05%2F000000\" title=\"C++14 \u3067 static_if \u66f8\u3044\u3066\u307f\u305f - Secret Garden(Instrumental)\" 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","author_url":"https://blog.hatena.ne.jp/osyo-manga/","categories":["C++"],"provider_name":"Hatena Blog","description":"\u4e0a\u3052\u308b\u306e\u5fd8\u308c\u3066\u305f\u3002 generic lambda \u3092\u4f7f\u3063\u3066\u3044\u3044\u611f\u3058\u306b static_if \u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u30bd\u30fc\u30b9 #include <iostream> template<typename Then, typename Else> auto static_if(std::integral_constant<bool, true>, Then then, Else else_){ return then; } template<typename Then, typename Else> auto static_if(std::integral_constant<bool, false>, T\u2026","image_url":null,"width":"100%","blog_url":"https://secret-garden.hatenablog.com/","blog_title":"Secret Garden(Instrumental)","author_name":"osyo-manga","provider_url":"https://hatena.blog","type":"rich","published":"2015-03-05 00:00:00","title":"C++14 \u3067 static_if \u66f8\u3044\u3066\u307f\u305f"}