In addition to being included in <iterator>, std::end is guaranteed to become available if any of the following headers are included: <array>, <deque>, <forward_list>, <list>, <map>, <regex>, <set>, <string>, <unordered_map>, <unordered_set>, and <vector>.

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

Custom specializations of std::end may be provided for classes that do not expose a suitable end() member function, yet can be iterated. The following specializations are already provided by the standard library:

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.