C ++では、newによって動的に要求されたメモリを使用するときに、ポインタを判断するのが最適です。

NoSuchKey

おすすめ

転載: blog.csdn.net/modi000/article/details/113877739