Can I set a default argument from a previous argument?

Viewed 15143

Is it possible to use previous arguments in a functions parameter list as the default value for later arguments in the parameter list? For instance,

void f( int a, int b = a, int c = b );

If this is possible, are there any rules of use?

7 Answers
Related