TKizir
TKizir

Reputation: 27

Where is the C++ operators are initially defined?

The topic we covered operator overloaded. They say the defined operators of C++ have already different meaning then you should create another ones. My question is where the initial C++ operators are defined, I mean which library have these operator implementation for default?

Upvotes: 0

Views: 74

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 595392

The standard operators are not defined in any library, they are built into the language and implemented by the compiler. Libraries and user code can then overload them as needed.

Upvotes: 1

Related Questions