From 6d2be3daedcd894fce2f12e69d62338dea9dc270 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 19 Oct 2020 17:38:10 +1000 Subject: [PATCH] view: add an iterator typedef --- view.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view.hpp b/view.hpp index d5eab527..922bddb9 100644 --- a/view.hpp +++ b/view.hpp @@ -30,6 +30,8 @@ namespace cruft { using begin_type = BeginT; using end_type = EndT; + using iterator = begin_type; + //--------------------------------------------------------------------- using value_type = typename std::iterator_traits< remove_restrict_t