C++ è¨èªã«ã¯ãåºæã®ãã£ã¹ãæ¼ç®åãããã¤ãããã¾ãã ãããã®æ¼ç®åã¯ã以åã®ã¹ã¿ã¤ã«ã® C è¨èªã®ãã£ã¹ããæã¤ããã¾ããã¨å±éºæ§ã®ä¸é¨ãåãé¤ããã¨ãç®çã¨ãã¦ãã¾ãã ãã®ãããªæ¼ç®åãæ¬¡ã«ç¤ºãã¾ãã dynamic_cast ããªã¢ã¼ãã£ãã¯ãªåã®å¤æã«ä½¿ç¨ãã¾ãã static_cast éããªã¢ã¼ãã£ãã¯ãªåã®å¤æã«ä½¿ç¨ãã¾ãã const_castconstãvolatileãããã³ __unaligned 屿§ãåé¤ããããã«ä½¿ç¨ãã¾ãã reinterpret_cast ãããã®åç´ãªåè§£éã«ä½¿ç¨ãã¾ãã safe_cast C++/CLI ã§æ¤è¨¼å¯è½ãª MSIL ãçæããããã«ä½¿ç¨ãã¾ãã const_cast 㨠reinterpret_cast ã®æ¼ç®åã«ã¯ä»¥åã®ã¹ã¿ã¤ã« ãã£ã¹ãã¨åãå±éºæ§ãããããããããã¯æå¾ã®ææ®µã¨ãã¦ä½¿ç¨ãã¦ãã ããã ããã§ãã


{{#tags}}- {{label}}
{{/tags}}