æ¦è¦ ã¬ãã¼ã¸ ã³ã¬ã¯ã·ã§ã³ã«é¢é£ãã¦ãå¼±åç §ã¨ãããã®ãããã¾ãã ãã£ãã«ä½¿ããã®ã§ã¯ããã¾ãããã使ãæ¹ã»ä½¿ãéã説æãã¾ãã ãµã³ãã« https://github.com/ufcpp/UfcppSample/tree/master/Chapters/Resource/WeakReference å¼±åç §ã¨ã¯ ãã¬ãã¼ã¸ ã³ã¬ã¯ã·ã§ã³ã(以ä¸ãGC)ã§ã¯ããä»ã®ãªãã¸ã§ã¯ãããåç §ããã¦ãããã®ã¯çãã¦ãã誰ãããåç §ããã¦ããªããã®ã¯ããä¸è¦ãã¨ããå¤å®æ¹æ³ã§ã ä¸è¦ãªãªãã¸ã§ã¯ããåé¤ãã¾ãã éã«è¨ãã¨ã誰ã1ã¤ã§ãåç §ãæã£ã¦ãããªãã¸ã§ã¯ãã¯åé¤ããã¾ããã ä¸æ¹ã§ãããªãã¸ã§ã¯ãã使ããããã ãã©ããGC çã«ã¯åç §ãã¦ãããã¨ã«ããªãã§ã»ãããã ãèªå以å¤ãå ¨å¡åç §ãææ¾ããããã®æç¹ã§åé¤å¯¾è±¡ã«ãã¦ã»ãããã¨ãããããªè¦ä»¶ãã¾ãã«ããã¾ãã ãããããGC ã®åç §æ¢
{{#tags}}- {{label}}
{{/tags}}