Why does C++ need language modifications to be “managed”?

前端 未结 11 1359
长发绾君心
长发绾君心 2021-02-14 20:05

Why can\'t a compiler be written that manages what needs to be managed in C++ code (i.e. to make it \"CLR compatible\")?

Maybe with some compromise, li

11条回答
  •  梦谈多话
    2021-02-14 20:33

    Existing correct code, i.e. code written according to the C++ standard, must not change its behaviour inadvertently.

提交回复
热议问题