{"width":"100%","categories":["C++"],"published":"2009-11-05 05:14:39","blog_url":"https://xyuyux.hatenadiary.org/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"xyuyux\u306e\u65e5\u8a18","url":"https://xyuyux.hatenadiary.org/entry/20091105/1257452079","type":"rich","height":"190","author_name":"xyuyux","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxyuyux.hatenadiary.org%2Fentry%2F20091105%2F1257452079\" title=\"C++\u3067Property\u3064\u3065\u304d1 - xyuyux\u306e\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>","image_url":null,"description":"self()\u547c\u3073\u51fa\u3057\u3082\u3067\u304d\u305f\u3002http://codepad.org/eKAdqttP \u4ee5\u4e0b\u306b\u540c\u3058\u30b3\u30fc\u30c9\u3092 #include <boost/typeof/typeof.hpp> #include <iostream> template<typename T> struct property_get_type; template<typename ReturnType,typename Class> struct property_get_type<ReturnType (Class::*)() const> { typedef ReturnType type; }; template<typen\u2026","title":"C++\u3067Property\u3064\u3065\u304d1","author_url":"https://blog.hatena.ne.jp/xyuyux/","version":"1.0"}