Introduced a function to get the size of an array at compile time