[libc++] Fix the noexceptness of __decay_copy.
When `a` was an array type, `__decay_copy(a)` was incorrectly marking itself noexcept(false), because it is false that `int[10]` is nothrow convertible to `int[10]` (in fact it is not convertible at all). We have no tests explicitly for `__decay_copy`, but the new ranges::begin and ranges::end tests fail before this patch. Differential Revision: https://reviews.llvm.org/D115658
Loading
Please sign in to comment