#include #include int main() { std::vector v { 1, 2, 3, 4 }; const auto it = cbegin(v) + 3; std::cout << std::boolalpha << (it < end(v)) << std::endl; }