Index accessing checks are not performed for derived classes of
of std::array, as only std::array itself and its aliases
seems to be checked.
This patch aims to extend it for derived classes such as:
template<class T, size_t N> class DerivedArray : public std::array<T, N> {};