{"version":"1.0","blog_url":"https://shinh.hatenablog.com/","title":" \u52d5\u7684\u306b\u578b\u30b5\u30a4\u30ba\u3092\u6c42\u3081\u308b\u30b9\u30de\u30dd","categories":["Program","C++"],"author_url":"https://blog.hatena.ne.jp/shinichiro_h/","provider_url":"https://hatena.blog","blog_title":"\u517c\u96d1\u8a18","provider_name":"Hatena Blog","published":"2006-06-23 02:13:07","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinh.hatenablog.com%2Fentry%2F20060623%2F1150996387\" title=\" \u52d5\u7684\u306b\u578b\u30b5\u30a4\u30ba\u3092\u6c42\u3081\u308b\u30b9\u30de\u30dd - \u517c\u96d1\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,"width":"100%","type":"rich","url":"https://shinh.hatenablog.com/entry/20060623/1150996387","author_name":"shinichiro_h","description":"http://d.hatena.ne.jp/okzk/20060622#1150958620\u304b\u3089\u3002\u52d5\u7684\u306b\u30b5\u30a4\u30ba\u3092\u8abf\u3079\u308b\u306e\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\u3002\u5148\u306b\u8a00\u3063\u3066\u304a\u304f\u3068\u5197\u8ac7\u3067\u3059\u3002 GCC \u3068 cl.exe \u3067\u78ba\u8a8d\u3002\u305f\u3076\u3093\u304d\u3063\u3068\u4ed6\u3067\u3082\u3060\u3044\u305f\u3044\u52d5\u304d\u307e\u3059\u304a\u305d\u3089\u304f\u3002 template<class T> class smart_ptr { T* p_; int size_; static int size_of(void* vp) { char* p = (char*)vp; void* vt = *(void**)p; for (p++; vt != *(void**)p; p++); retu\u2026","height":"190"}