{"categories":["C++"],"provider_name":"Hatena Blog","title":"C++11/14 \u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5834\u9762","blog_url":"https://secret-garden.hatenablog.com/","url":"https://secret-garden.hatenablog.com/entry/2016/08/11/163118","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2016%2F08%2F11%2F163118\" title=\"C++11/14 \u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5834\u9762 - 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>","author_url":"https://blog.hatena.ne.jp/osyo-manga/","width":"100%","blog_title":"Secret Garden(Instrumental)","image_url":null,"provider_url":"https://hatena.blog","height":"190","description":"C++03 \u3067\u306f\u305b\u3044\u305c\u3044\u30af\u30e9\u30b9\u3084\u95a2\u6570\u3050\u3089\u3044\u3067\u3057\u304b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046\u5834\u9762\u306f\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c C++11/14 \u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046\u5834\u9762\u304c\u5897\u3048\u305f\u306e\u3067\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002 \u30af\u30e9\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8(C++11) \u30af\u30e9\u30b9\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u578b\u3092\u6e21\u3057\u307e\u3059\u3002 template<typename T> struct holder{ T value; }; holder<int> n = { 10 }; holder<float> f = { 3.14f }; \u95a2\u6570\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8(C++11) \u95a2\u6570\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u578b\u3092\u6e21\u3057\u307e\u3059\u3002 template<typename R, typename T> R twice(T t){ re\u2026","published":"2016-08-11 16:31:18","author_name":"osyo-manga","type":"rich","version":"1.0"}