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
std::vector<int> vec;
int* ptrToLastOne = &(*(vec.end() - 1)) ;
// the other way I could see was
int* ptrToLastOne2 = &vec[ vec.size()-1 ] ;
But these are both not very nice looking!