[clang] [clang] Add test for CWG1807 (PR #77637)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 10 10:26:45 PST 2024


erichkeane wrote:

> @erichkeane Defect report reads
> 
> > The destruction of fully-constructed array elements when array initialization is terminated by an exception is required by 14.3 [[except.ctor](https://wg21.link/except.ctor#2)] paragraph 2, but the order in which they are to be destroyed is not specified.
> 
> So I think while both your points are interesting, they are out of scope of the DR.

Thanks, Missed that part.  Carry on!

https://github.com/llvm/llvm-project/pull/77637


More information about the cfe-commits mailing list