{"url":"https://computeralgebra.hatenablog.com/entry/2025/05/14/211121","blog_title":"\u975e\u5c02\u9580\u7684\u30b7\u30f3\u30ae\u30e5\u30e9\u30ea\u30c6\u30a3\u30fc\u7814\u7a76\u6240","author_name":"computeralgebra","provider_name":"Hatena Blog","description":"shared_ptr \u3092\u4f7f\u3046\u5834\u5408\u3068\u4f7f\u308f\u306a\u3044\u5834\u5408\u3092\u5207\u308a\u66ff\u3048\u308b\u65b9\u6cd5\u3092 ChatGPT \u3067\u8abf\u3079\u3066\u307f\u307e\u3059\u3002 C++ \u3067 shared_ptr \u3092\u4f7f\u3046\u5834\u5408\u3068\u4f7f\u308f\u306a\u3044\u5834\u5408\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3001shared_ptr \u3092\u4f7f\u3046\u5834\u5408\u306f shared_from_this()\u3001\u4f7f\u308f\u306a\u3044\u5834\u5408\u306f this \u306b\u5207\u308a\u66ff\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b \u3068\u5165\u529b\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u8fd4\u3055\u308c\u307e\u3057\u305f\u3002 \u306f\u3044\u3001C++ \u3067 `shared_ptr` \u3092\u4f7f\u3046\u304b\u3069\u3046\u304b\u3092\u5207\u308a\u66ff\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u3057\u3001`shared_ptr` \u3092\u4f7f\u3046\u5834\u5408\u306f `shared_from_this()` \u3092\u3001\u4f7f\u308f\u306a\u3044\u5834\u5408\u306f `this` \u3092\u4f7f\u3046\u3001\u3068\u3044\u3046\u8a2d\u8a08\u306f\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/computeralgebra/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcomputeralgebra.hatenablog.com%2Fentry%2F2025%2F05%2F14%2F211121\" title=\"\u5f0f\u306e\u8a08\u7b97\u96fb\u5353\u30b3\u30de\u30f3\u30c9\u7248(4) - \u975e\u5c02\u9580\u7684\u30b7\u30f3\u30ae\u30e5\u30e9\u30ea\u30c6\u30a3\u30fc\u7814\u7a76\u6240\" 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","categories":["\u5f0f\u306e\u8a08\u7b97\u96fb\u5353\u30b3\u30de\u30f3\u30c9\u7248","ChatGPT"],"image_url":"https://m.media-amazon.com/images/I/51P1+304feL._SL500_.jpg","published":"2025-05-14 21:11:21","title":"\u5f0f\u306e\u8a08\u7b97\u96fb\u5353\u30b3\u30de\u30f3\u30c9\u7248(4)","width":"100%","blog_url":"https://computeralgebra.hatenablog.com/","type":"rich"}