substr() and slice() are const members.
array_view: remove clear(), add pop_front() and pop_back().
Add a basic hash function for array_ref<T>.