stella
stella

Reputation: 2596

Function call arguments

Can someone explain what that means:

5.2.2 function call

The evaluations of the postfix expression and of the arguments are all unsequenced relative to one another.

So, if we have postfix expression

void f(int, int, int);
//...
f(2, 3, 5);

what that mean for the expression then?

Upvotes: 1

Views: 83

Answers (1)

SangHeon Lee
SangHeon Lee

Reputation: 31

For better understand,

class A;
class B;
class C;
void func(A* a, B* b, C* c)

func(A(), B(), C());

In this case, order of constructions for class A,B,C has no particular sequence.

Upvotes: 2

Related Questions