title: Short Parameter Type in C++
body: <p>Let`s say I have a class named Graph. I want to shorten the parameter list by using shorter type names. Is it possible to do that?</p>
  
  <pre><code>void Graph::APUtil(int u, vector &lt;bool&gt; visited, vector &lt;bool&gt; disc,  
                     vector &lt;bool&gt; low,  vector &lt;bool&gt; parent, vector &lt;bool&gt; ap)
  </code></pre>
  
  <p>I tried using auto but it does not work:</p>
  
  <pre><code>void Graph::APUtil(int u, auto visited, auto disc ...
  </code></pre>
  
  <p>I think since this is a class method lambda also does not work.</p>
  
  <p>Any suggestion? I am asking this to save time in coding challenges.</p>