Vector example after C++11