Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: cxx-abi-dev@xxxxxxxxxxxxxxxx
  • Subject: Re: [cxx-abi-dev] Allocator returning null during array construction (?)
  • From: Dennis Handly <dhandly@xxxxxxxxxx>
  • Date: Thu, 4 Sep 2003 17:08:42 -0700 (PDT)

>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.