void S(){}
struct S{};
int main(){
S();
}
In the above code, the expression "S ()" in main is considered as an expression of a function call, and not an attempt to create a temporary type "S".
What part of the C ++ standard talks about allowing such an expression to favor a function declaration? For some reason I cannot find it.
source
share