Function Dune::XT::Common::array_length

Function template Dune::XT::Common::array_length

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

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