I want to use a special method to initialize a std::vector which is described in a C++ book I use as a reference (the German book \'Der C++
std::vector
No, that variant does not exist. The second constructor initializes a vector from two iterators that point into another sequence.
Here is an example of the "two-iterator" constructor in action:
int fill_data[4] = { 1, 2, 3, 4 }; std::vector v(fill_data, fill_data + 4);