[cpp] nonoverloadable operators

Fei Xu flyingxu at gmail.com
Sat Mar 24 11:35:48 CST 2007


The following four C++ operators cannot be overloaded:
// nonoverloadable operators
:: .* . ?:

这是c++ primer上的一句话

上面是哪4个操作符啊?
::
.*
.
.?
书排版不是很明显,是不是这四个?
其中.*操作符怎么用的啊?



More information about the Cpp mailing list