{"title":"\u578b\u5909\u63db\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u623b\u308a\u5024\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u98a8\u3092\u5b9f\u73fe","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpknight.hatenablog.com%2Fentry%2F20100329%2F1269823604\" title=\"\u578b\u5909\u63db\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u623b\u308a\u5024\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u98a8\u3092\u5b9f\u73fe - (void*)P\u306a\u3044\u3068\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"pknight","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","blog_url":"https://pknight.hatenablog.com/","description":"C++\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30c6\u30af\u30cb\u30c3\u30af 9-3 \u623b\u308a\u5024\u306e\u307f\u3067\u306f\u901a\u5e38\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u306f\u3067\u304d\u307e\u305b\u3093\u3002 #include <iostream> using std::cout; using std::endl; class CClassA {}; class CClassB {}; CClassA foo() { return CClassA(); } CClassB foo() { return CClassB(); } int main () { CClassA a = foo(); CClassB b = foo(); return 0; } $ cl /W4 /EHsc main.cpp Microso\u2026","blog_title":"(void*)P\u306a\u3044\u3068","categories":["C++","C++TT\u672c"],"author_url":"https://blog.hatena.ne.jp/pknight/","image_url":null,"type":"rich","url":"https://pknight.hatenablog.com/entry/20100329/1269823604","version":"1.0","published":"2010-03-29 09:46:44"}