No. If the + operator is not overridden, such things are evaluated left to right. Even if you could influence the priority in the statement, it would not necessarily mean that f and g were evaluated in the same order. If you need f evaluate to g , you can always:
auto resultOfF = f(x); auto resultOfG = g(x); resultOfF + resultOfG;
source share