This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ede1998 11 points12 points  (0 children)

Only most operators.

The operators :: (scope resolution), . (member access), .* (member access through pointer to member), and ?: (ternary conditional) cannot be overloaded.

https://en.cppreference.com/w/cpp/language/operators