{"height":"190","blog_title":"melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8","width":"100%","provider_url":"https://hatena.blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelpon.hatenadiary.org%2Fentry%2F20060309%2Fp1\" title=\"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5bfe\u3059\u308b friend - melpon\u65e5\u8a18 - Haskell\u3082C++\u3082\u307e\u3068\u3082\u306b\u6271\u3048\u306a\u3044\u3078\u305f\u308c\u306e\u30da\u30fc\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"melpon","description":"\u306a\u305c\u304b VC6 \u306f\u3001 template< class T > friend class Hoge; \u3053\u3093\u306a\u611f\u3058\u3067\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5bfe\u3059\u308b friend \u3092\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u306a\u3044\uff08ARM \u306a\u3089\u51fa\u6765\u308b\uff09\u3002 \u3067\u3001\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3044\u308d\u3044\u308d\u8003\u3048\u3066\u307f\u305f\u3002 \u4f8b\u3048\u3070\u3001\u3042\u308b\u30af\u30e9\u30b9 Hoge \u304c\u3042\u3063\u3066\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306a Factory \u306b\u5bfe\u3057\u3066 friend \u3092\u3059\u308b\u5834\u5408\u306f\u3001 template< class T > class Factory; class Hoge{ private: Hoge(){} ~Hoge(){} friend Factory< Hoge >; }; template< class T > c\u2026","categories":["program","C++"],"blog_url":"https://melpon.hatenadiary.org/","title":"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5bfe\u3059\u308b friend","image_url":null,"url":"https://melpon.hatenadiary.org/entry/20060309/p1","author_url":"https://blog.hatena.ne.jp/melpon/","published":"2006-03-09 00:00:00","type":"rich"}