Your question has already been answered (this is not resolved), but in case you do not understand this, the workaround is trivial with function overloading.
int do_something(int a, int b){
}
int do_something(int a) {
return do_something(a, a + 1);
}
source
share