I'm looking for a reference when iterators were introduced to the ISO C++, I can notice in this example they are used with vectors since C++98, but I read from the www.isocpp.com page that this is not official documentation but only a reference: http://www.cplusplus.com/reference/vector/vector/vector/
// constructing vectors
#include <iostream>
#include <vector>
int main ()
{
// constructors used in the same order as described above:
std::vector<int> first; // empty vector of ints
std::vector<int> second (4,100); // four ints with value 100
std::vector<int> third (second.begin(),second.end()); // iterating through second
std::vector<int> fourth (third); // a copy of third
// the iterator constructor can also be used to construct from arrays:
int myints[] = {16,2,77,29};
std::vector<int> fifth (myints, myints + sizeof(myints) / sizeof(int) );
std::cout << "The contents of fifth are:";
for (std::vector<int>::iterator it = fifth.begin(); it != fifth.end(); ++it)
std::cout << ' ' << *it;
std::cout << '\n';
return 0;
}
Also I want to find an official document like the ISO version but then I don't know which one to buy and where to buy it from.
Is there a page where all features are listed by version? I've look for something similar but I only found this documentation that starts from C++11: https://en.cppreference.com/w/cpp/compiler_support