[libcxx-dev] std::vector using copy constructor on existing elements during reserve()

Duncan P. N. Exon Smith via libcxx-dev libcxx-dev at lists.llvm.org
Mon Apr 29 16:54:08 PDT 2019



> On Apr 29, 2019, at 01:54, Richard Smith <richard at metafoo.co.uk> wrote:
> 
> Longer-term, "Clang should drive the standard, not diverge from it"
> (http://clang.llvm.org/get_involved.html <http://clang.llvm.org/get_involved.html>). We should be thinking about
> the long term direction of exceptions in C++, and in particular Herb's
> P0709. In that vein (particularly considering P0709R2's footnote 10
> and nearby text) I'm wondering if we should have an experimental
> option to specify that functions are noexcept by default (overridable
> by an explicit exception specification) as a bridge for
> -fno-exceptions users to take back towards standard C++.

This direction makes sense to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20190429/7e90b19b/attachment.html>


More information about the libcxx-dev mailing list