view: provide accessible typedefs for BeginT and EndT

This commit is contained in:
Danny Robson 2018-12-16 13:25:41 +11:00
parent c573c9fa37
commit 4b3b001d18

View File

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