我正在使用Microsoft Visual Studio 2019 (Professional)开发一个舰队管理项目。几年后回到VC++并开发了一个库。namespace std;
typedef vector<Vehicle> Fleet; //error here. is it allowed to define like this in VS2019//iterate here to set availability for each vehicle in the old fle
代码在VS2015中编译得很好,但在VS2019中却抛出了错误。C++17标准版不支持吗?CPPUNIT_TEST_SUITE_END();** // *This line has all the below mentioned errors*CPPUNIT错误:
错误C2039 'auto_ptr':不是'std‘的成员错误C2065 'auto_ptr':未声明的标识符。