define vector with size and value c++

#include <iostream>
#include <vector>

int main() {
    std::vector<int> vec(5, 10);
    return 0;
}