Array index [0] on zero length array is undefined on C++03