gpt4 book ai didi

c++ - "//appease MSC"注释中的MSC是什么意思?

转载 作者:行者123 更新时间:2023-11-28 06:16:34 24 4
gpt4 key购买 nike

我偶尔会在 C++ 注释中遇到 //appease MSC,例如here :

const int& Array::operator[](int offSet) const
{
int mysize = GetitsSize();
if (offSet >= 0 && offSet < GetitsSize())
return pType[offSet];
throw xBoundary();
return pType[offSet]; // to appease MSC!
}

MSC 代表什么?

最佳答案

作者指的是微软的编译器,更正式的说法是 MSVC。

关于c++ - "//appease MSC"注释中的MSC是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30177028/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com