{"type":"rich","blog_url":"https://bleis-tift.hatenablog.com/","categories":["C++","Program"],"provider_name":"Hatena Blog","url":"https://bleis-tift.hatenablog.com/entry/20060508/1147086122","published":"2006-05-08 20:02:02","description":"C++\u3067\u5b9f\u4f53\u3092\u30b3\u30d4\u30fc\u3055\u305b\u305f\u304f\u306a\u3044\u5834\u5408\u3001\u901a\u5e38\u306f\u30b3\u30d4\u30fc\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3068\u4ee3\u5165\u6f14\u7b97\u5b50\u3092private\u306b\u3057\u305f\u308a\u3001boost::noncopyable\u3092\u4f7f\u3046\u3002 \u3067\u3001\u8003\u3048\u305f\u3093\u3067\u3059\u304c\u3001\u305d\u3082\u305d\u3082\u300c\u5b9f\u4f53\u300d\u306b\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u3057\u307e\u3048\u3070\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u3002\u4ee5\u4e0b\u5b9f\u88c5\u4f8b\u3067\u3059\u3002 #include <iostream> // \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u7528\u610f\u3059\u308b\u3002 class Interface { public: virtual void func() = 0; }; // \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u53d6\u5f97\u3059\u308b\u95a2\u6570\u3002 // std::aut_ptr\u7b49\u3067\u8fd4\u3059\u306e\u3082OK Interface* createObject() { // \u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20060508%2F1147086122\" title=\"\u30b3\u30d4\u30fc\u3055\u305b\u306a\u3044 - \u3050\u308b\u3050\u308b\uff5e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"\u30b3\u30d4\u30fc\u3055\u305b\u306a\u3044","height":"190","width":"100%","image_url":null,"author_name":"bleis-tift","provider_url":"https://hatena.blog","blog_title":"\u3050\u308b\u3050\u308b\uff5e","author_url":"https://blog.hatena.ne.jp/bleis-tift/"}