{"title":"\u4eee\u60f3\u95a2\u6570\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u306e\u5224\u5b9a","image_url":null,"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/osyo-manga/","categories":["\u30d7\u30ed\u30b0\u30e9\u30e0","C++"],"author_name":"osyo-manga","type":"rich","height":"190","description":"\u8abf\u3079\u305f\u3089\u3042\u3063\u305f\u306e\u3067\u8cbc\u308a\u4ed8\u3051\u3002 boost::is_polymorphic \u3063\u3066\u306e\u304c\u3042\u308b\u307f\u305f\u3044\u306d\u3002 #include template struct is_polymorphic{ struct A : public T{}; struct B : public T{ virtual ~B(){}; }; static const bool value = sizeof(A) == sizeof(B); }; struct hoge{ int a; ~hoge(){} }; struct foo{ virtual void func(){} }; int main(){ std::cout ::\u2026","version":"1.0","blog_url":"https://osyo-manga.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fosyo-manga.hatenadiary.org%2Fentry%2F20091025%2F1256464591\" title=\"\u4eee\u60f3\u95a2\u6570\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u306e\u5224\u5b9a - C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" 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://osyo-manga.hatenadiary.org/entry/20091025/1256464591","published":"2009-10-25 18:56:31","blog_title":"C++\u3067\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}