Examples of ISO C++ code that is not valid C++/CLI

后端 未结 2 1872
轮回少年
轮回少年 2021-01-18 21:30

I\'ve seen contradictory answers on the internet with regard to whether C++/CLI is a superset of C++ or not.

The accepted answer on this question claims that \"tech

2条回答
  •  情歌与酒
    2021-01-18 21:59

    I am wondering about the plethora of the super-set/extension polemics. C++/CLI is a new language designed to act as a binding between ISO C++ and the ISO CLI. I heartily recommend to read the C++/CLI Design Rationale which clearly states the design goals at the very beginning of the document:

    C++/CLI’s mission is to provide direct access for C++ programmers to use existing CLI libraries and create new ones, with little or no performance overhead, with the minimum amount of extra notation, and with full ISO C++ compatibility.

提交回复
热议问题