diff --git a/include/ircd/vector_view.h b/include/ircd/vector_view.h index 91c28fdb2..1e57d50a5 100644 --- a/include/ircd/vector_view.h +++ b/include/ircd/vector_view.h @@ -59,6 +59,16 @@ struct ircd::vector_view return operator[](pos); } + value_type &back() const + { + return at(size() - 1); + } + + value_type &front() const + { + return at(0); + } + vector_view(value_type *const &start, value_type *const &stop) :_data{start} ,_stop{stop}