This class is defined in the stdext namespace.
This iterator adapter should only be used when you have a non-checked iterator. All Standard C++ Library containers will return a checked iterator if _SECURE_SCL is set to 1, so there is no need to use checked_iterator with std::vector<T>::iterator, for example. However, if you have a custom container which returns iterators that are non-checked, then use checked_iterator.
If your code relies heavily on non-Standard C++ Library containers and iterators and you do not want to use checked_iterator, then consider disabling these warnings using _SCL_SECURE_NO_WARNINGS or the other methods described in that topic.
For more information, see Checked Iterators.