{"blog_url":"https://melpon.hatenadiary.org/","height":"190","width":"100%","categories":["program","C++"],"title":"\u30af\u30e9\u30b9\u56fa\u6709ID","author_name":"melpon","version":"1.0","provider_name":"Hatena Blog","description":"C++ \u3067\u30af\u30e9\u30b9\u56fa\u6709\u306eID\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3002 /*! * @brief \u30af\u30e9\u30b9\u56fa\u6709\u306e ID \u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9 */ template< class T > class TypeID{ private: /*! * @brief \u3053\u306e\u95a2\u6570\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u30af\u30e9\u30b9\u56fa\u6709\u306e ID \u3068\u3057\u3066\u4f7f\u3046 */ static void TypeFunc(){} public: /*! * @brief \u30af\u30e9\u30b9\u56fa\u6709\u306e ID \u3092\u8fd4\u3059 */ static uint32 Get(){ return (uint32)&TypeFunc; } }; \u3053\u3093\u3060\u3051\u3002 \u8ffd\u8a18\uff1a \u8003\u3048\u3066\u307f\u308c\u3070\u3001TypeID::Get() \u3068\u304b\u3082\u51fa\u6765\u308b\u306e\u3067\u2026","image_url":null,"blog_title":"melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8","provider_url":"https://hatena.blog","type":"rich","url":"https://melpon.hatenadiary.org/entry/20060828/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20060828%2Fp1\" title=\"\u30af\u30e9\u30b9\u56fa\u6709ID - melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2006-08-28 00:00:00","author_url":"https://blog.hatena.ne.jp/melpon/"}