{"description":"\u30af\u30e9\u30b9\u3067\u4f7f\u7528\u3059\u308b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306f\u540c\u3058\u3060\u304c\u3001\u5bfe\u8c61\u3068\u306a\u308b\u30c7\u30fc\u30bf\u578b\u304c\u7570\u306a\u308b\u3088\u3046\u306a\u5834\u5408\u306f\u6c4e\u7528\u30af\u30e9\u30b9\u3092\u7528\u3044\u308b\u3068\u3088\u3044\u3002 \u6c4e\u7528\u30af\u30e9\u30b9\u306e\u5ba3\u8a00\u306f\u6b21\u306e\u901a\u308a\u3002 template <class T\u578b> class \u30af\u30e9\u30b9\u540d { ... } \u5b9f\u969b\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3059\u308b\u3068\u304d\u306f \u30af\u30e9\u30b9\u540d <\u578b> \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u540d \u3068\u306a\u308b\u3002 #include <iostream> using namespace std; template <class T> class Test { T mValue; public: void set(T i) { mValue = i; } void put() { cout << mValue << e\u2026","version":"1.0","image_url":null,"url":"https://toburau.hatenablog.jp/entry/20090117/1232220868","author_name":"toburau","published":"2009-01-17 04:34:28","width":"100%","height":"190","title":"\u6c4e\u7528\u30af\u30e9\u30b9","blog_url":"https://toburau.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/toburau/","categories":["C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20090117%2F1232220868\" title=\"\u6c4e\u7528\u30af\u30e9\u30b9 - \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>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","type":"rich"}