view: provide accessible typedefs for BeginT and EndT
This commit is contained in:
parent
c573c9fa37
commit
4b3b001d18
3
view.hpp
3
view.hpp
@ -27,6 +27,9 @@ namespace cruft {
|
||||
template <typename BeginT, typename EndT = BeginT>
|
||||
struct view {
|
||||
public:
|
||||
using begin_type = BeginT;
|
||||
using end_type = EndT;
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
using value_type = typename std::iterator_traits<
|
||||
remove_restrict_t<BeginT>
|
||||
|
Loading…
Reference in New Issue
Block a user