view: add an iterator typedef

This commit is contained in:
Danny Robson 2020-10-19 17:38:10 +10:00
parent f3302ffd5f
commit 6d2be3daed

View File

@ -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<BeginT>