{"author_url":"https://blog.hatena.ne.jp/toburau/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20090119%2F1232379005\" title=\"\u6c4e\u7528\u30af\u30e9\u30b9\u305d\u306e3 - \u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\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>","url":"https://toburau.hatenablog.jp/entry/20090119/1232379005","version":"1.0","blog_url":"https://toburau.hatenablog.jp/","title":"\u6c4e\u7528\u30af\u30e9\u30b9\u305d\u306e3","provider_name":"Hatena Blog","blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","description":"\u6c4e\u7528\u30af\u30e9\u30b9\u3067\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u5b9f\u88c5\u90e8\u5206\u3067\u306e\u8a18\u8ff0\u306e\u4ed5\u65b9\u3067\u6238\u60d1\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 template <class T\u578b> \u8fd4\u308a\u5024\u306e\u578b \u30af\u30e9\u30b9\u540d<T\u578b>::\u30e1\u30f3\u30d0\u95a2\u6570\u540d(\u4eee\u5f15\u6570\u30ea\u30b9\u30c8) { ... } \u305f\u3068\u3048\u3070\u6c4e\u7528\u578b\u3092\u8fd4\u3059\u30e1\u30f3\u30d0\u95a2\u6570\u306e\u5834\u5408\u306f\u6b21\u306e\u3088\u3046\u306a\u611f\u3058\u3002 #include <iostream> using namespace std; template <class T> class Test { T mValue; public: void set(int i) { mValue = i; } T get(); }; template <class T> T Test<T>::get() // T\u3092\u8fd4\u3059\u30e1\u2026","published":"2009-01-19 00:30:05","image_url":null,"type":"rich","provider_url":"https://hatena.blog","categories":["C++"],"author_name":"toburau","width":"100%","height":"190"}