While reviewing my <dynarray> implementation, Richard pointed out that it 
should throw bad_array_length if the length was too large.
I tried to do that, only to discover that libc++ didn't have 
std::bad_array_length.

This patch remedies that (with a test)
There is a corresponding patch for libcxxabi coming.

-- Marshall

Marshall Clow     Idio Software   <mailto:[email protected]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly 
moderated down to (-1, Flamebait).
        -- Yu Suzuki

Attachment: libcxx-bad_array_length.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to