Talk:cpp/iterator/reverse iterator/base
From cppreference.com
Previously this page had the following paragraph:
The base iterator refers to the element that is next to the element the reverse_iterator
is currently pointing to. That is std::reverse_iterator(it).base() == std::next(it).
Do not EVER add this shit again. If the paragraph above is right, then the following code should pass without assertion errors:
Guess what? It doesn't happen!