Commit Graph

8 Commits

Author SHA1 Message Date
722dbbe18f view: use decltype for make_view type deduction
some types will not have iterator typedefs but are capable of providing
iterators. use the types that std::begin and friends return instead of
deducing them ourselves.
2016-06-28 14:06:02 +10:00
28d44593d8 view: add make_view, ref-qualifiers, comparators 2016-03-17 18:14:40 +11:00
8e4057cc56 view: ostream operator should print list, not concatenation 2016-02-10 13:08:02 +11:00
e1e5efb357 view: indexing operator returns non-const iterators 2016-02-10 13:07:13 +11:00
f610a70950 view: style 2016-02-10 13:07:03 +11:00
543da8f15e view: remove non-constexpr debugging call 2015-09-29 17:31:45 +10:00
4310366987 view: make methods constexpr
the class is used in some constexpr parsing routines, so constexpr for
many methods is required.
2015-09-25 13:41:04 +10:00
56b5c34b5d view: move implementation inline
this allows support for arbitrary iterator types
2015-09-22 18:31:47 +10:00