[cxx-abi-dev] Allocator returning null during array construction (?)

Dennis Handly dhandly at cup.hp.com
Fri Sep 5 00:08:42 UTC 2003


>The C++ ABI [clause 3.3.3], however, does not specify behaviour of array
>construction functions __cxa_vec_new2 and __cxa_vec_new3 for the case when
>allocator returns null.
>Would you clarify this behaviour, please.
 Grigory Zagorodnev

Hmm.  In our source, it just falls through, with fatal results.
It seems in this case we should just return.

I thought at one time I mentioned we don't seem to have a throw spec on
the definition of these __cxa_vec* routines for the alloc parm?

I assume that's because it wasn't worth the effort or it just wasn't
needed.



More information about the cxx-abi-dev mailing list