In the C++ array implementation, an empty method is provided. However as the implementation suggests:
constexpr bool
empty() const noexcept { return size() == 0; }
This only returns true if the size of the array is 0 so what is the point of it?
the typical use case for std::array is something like this: std::array<type,size> a = {init here maybe}; or a[index] = value; afterwards.
Is there any use case where you would declare a zero length array or get it from somewhere that an empty check would be useful?