title: Prettier syntax for "pointer to last element", std::vector?
body: <p>I'm wondering if there is prettier syntax for this to get a normal pointer (not an iterator) to the last element in a C++ vector</p>
  
  <pre><code>std::vector&lt;int&gt; vec;
  
  int* ptrToLastOne = &amp;(*(vec.end() - 1)) ;
  
  // the other way I could see was
  int* ptrToLastOne2 = &amp;vec[ vec.size()-1 ] ;
  </code></pre>
  
  <p>But these are both not very nice looking!</p>