All operators are implicit. You do not have to use the scope operator for all other operators.
Think about how unpleasant it would be:
int a = 4 int::operator* 6;
And for this very reason, they did it that way.
In addition, all operators are analyzed in lexical code processing. The value of these literals can be defined by the user:
Section 2.14.8 discusses the literal rules:
A user literal is considered as a call to a literal operator or a literal operator pattern (13.5.8). To determine the form of this call for a given user literal L with ud-suffix X, literal-operator-id, whose literal suffix identifier is X, is looked up in context L using the rules for finding unqualified names (3.4.1). Let S be the set of ads found by this search. S should not be empty.
Yochai timmer
source share