devxlogo

Overloading The ! Operator

Overloading The ! Operator

Question:

Is it possible to have a postfix version of the ! operator?

Answer:

No, you cannot alter the associativity, ordering and position of built-in operators when you create an overloaded version of them.

devx-admin

Share the Post: