view: add an iterator typedef
This commit is contained in:
parent
f3302ffd5f
commit
6d2be3daed
2
view.hpp
2
view.hpp
@ -30,6 +30,8 @@ namespace cruft {
|
|||||||
using begin_type = BeginT;
|
using begin_type = BeginT;
|
||||||
using end_type = EndT;
|
using end_type = EndT;
|
||||||
|
|
||||||
|
using iterator = begin_type;
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
using value_type = typename std::iterator_traits<
|
using value_type = typename std::iterator_traits<
|
||||||
remove_restrict_t<BeginT>
|
remove_restrict_t<BeginT>
|
||||||
|
Loading…
Reference in New Issue
Block a user