I find Slava's solution really simple and elegant
vector myVec {a, a, a, a};
But just to show another way, you can use the variadic template function
template
std::vector getVect (T const & t, Ts const & ... ts)
{ return { t, ts... } ; }
You can use auto again
auto myVec = getVect(a, a, a, a, a);