Function Dune::XT::Common::array_length

template<class T, size_t N>
size_t Dune::XT::Common::array_length(T (&)[N])

type safe (this will not compile for degraded-to-pointer arrays) way of getting array length