Talk:cpp/algorithm/reverse
From cppreference.com
The point about last is not clear like other API. Does last go to first or last-1 go to first. I assume last-1 as most c++ apis. The math notation [) used suggests last-1, I appreciate the just a bit more verbosity for this lol, I always get off by 1 errors as different languages do different things haha.