You can just use delete and then set to null - save those without MSVC macros.