'Type of Constructors for vector STL with list

when you initialize an vector like this:

std::vector<int> vec {1, 2, 3};

Which constructor is called to perform this initialization?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source