查看此 C++ BigInt 库并找到 BigInt.cpp文件。在顶部有一条关于兼容性的评论:
This class was written for the g++ compiler and uses some of the g++ extensions (like "long double" and the ">?=" operator).
>?=
运算符的作用是什么?我在其他任何地方都找不到对它的引用。
最佳答案
这是一个 GCC 扩展,已在 GCC 4.2 及更高版本中删除。
相当于a >?= b
是a = max(a,b);
还有一个很相似的运算符a <?= b
这与 a = min(a, b);
相同.
关于c++ ->?= 运算符是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6839475/