title: Should I always call vector clear() at the end of the function?
body: <p>I have some simple function that uses vector like this (pseudo code):</p>
  
  <pre><code>void someFunc(void) {
  
      std::vector&lt;std::string&gt; contentVector;
  
      // here are some operations on the vector
  
      // should I call the clear() here or this could be ommited ?
      contentVector.clear();
  
  }
  </code></pre>
  
  <p>Should I call the clear() or this could be ommited ?</p>