1 2 3 4 5 6 7
#include <iterator> int main() { int a[] = { 2, 1, 0 }; auto ai = std::cend(a); return *(ai - 1); }