I'm not quite if I've seen it around, I did not find it on internet but
I believe that there was a way to set an specific argument while calling a function and leaving other's untouched.
Something like this:
1 2 3 4 5 6
void example( a = 5, b = 10, c = 15 ){ cout << a << "," << b << "," << c << endl; }
int main(){
example( .b=20 ) // prints:5,20,15
example( .c=100 ) // prints:5,10,100
return 0
}
or perhaps I'm just confusing everything with another programming language
and that method does not exist at c++ at all.
Thanks!