cpp/memory/new/bad array new length

is the type of the object thrown as exceptions by the new-expressions to report invalid array lengths if


 * 1) Array length is negative,
 * 2) Total size of the new array would exceed implementation-defined maximum value,
 * 3) The number of initializer-clauses exceeds the number of elements to initialize.

Only the first array dimension may generate this exception; dimensions other than the first are constant expressions and are checked at compile time.