title: c++ Default paramaters: is it possible to override a default parameter without overriding earlier default parameters
body: <p>I have a function:</p>
  
  <pre><code>int function(int a, int b = 1, int c = 2){
      return a+b+c;
  }
  </code></pre>
  
  <p>I want to set the value of the "c" variable to 3, but don't want to set the value of "b"</p>
  
  <p>In a language like python I can do this:</p>
  
  <pre><code>function(23,c=3)
  </code></pre>
  
  <p>However in c++ I cant find a way to do something like that. All examples I could find involved setting the value of "b" before the value of "c", like this:</p>
  
  <pre><code>function(23,1,3);
  </code></pre>
  
  <p>How can I set the value of a default parameter directly?</p>