On 4/5/21 4:00 PM, Arkadiusz Hiler wrote:
I was considering something similar at first, but I didn't like the idea of having RTTI/dtor definitions behind an ifdef in a header file.
I don't have a strong preference though so if this is fine with you then it's also fine with me.
I don't like any of this solutions but I don't see how it can be improved without compiler support. Since the cxx.h file is shared between msvcp and msvcrt I think it makes sense to make the file independent of other source files.
Thanks, Piotr