Home  >  Article  >  Backend Development  >  How many operators cannot be overloaded in C++?

How many operators cannot be overloaded in C++?

下次还敢
下次还敢Original
2024-04-22 17:30:15480browse

The only operator in C that cannot be overloaded is the range operator (::).

How many operators cannot be overloaded in C++?

The number of operators that cannot be overloaded in C

The only operators that cannot be overloaded in C areA, that is the range operator: :.

The above is the detailed content of How many operators cannot be overloaded in C++?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn