This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: noexcept move on containers (e.g. list)
- From: Daniel Krügler <daniel dot kruegler at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, Kenny Simpson <theonetruekenny at yahoo dot com>
- Date: Wed, 18 Sep 2013 13:56:45 +0200
- Subject: Re: noexcept move on containers (e.g. list)
- Authentication-results: sourceware.org; auth=none
- References: <1379479322 dot 84313 dot YahooMailNeo at web142405 dot mail dot bf1 dot yahoo dot com> <CAH6eHdQtm4m9Unrxeue-UZWMPvi6n0BKvmyVg8tKYqBr9RWbpA at mail dot gmail dot com> <CAH6eHdS8XA8iok5YCRjE_CswdiuLMn01OW+8MC-y-1M8aAc9-A at mail dot gmail dot com> <CAGNvRgCGuCvEhxDXDRQVZkVg5pVkM_O2xrmTm119itiMmtjrhQ at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309181252380 dot 4735 at stedding dot saclay dot inria dot fr> <CAGNvRgBHOR9c6b9eWgO5Pzy_uN+XGE2ybrABomTFy4rRLFdvqQ at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1309181338440 dot 4735 at stedding dot saclay dot inria dot fr>
2013/9/18 Marc Glisse <marc.glisse@inria.fr>:
[..]
> Yes, I wondered about that. Since destructors are guaranteed not to throw, I
> may have extrapolated that destroy wouldn't either in my latest patch...
> (though the code was already making this assumption in other places)
>
> It would be good to add the corresponding line to the standard. Can you
> handle the new issue, Daniel? Or do you want me to try and write a few
> lines?
Thanks Marc, I will create a corresponding issue [I'm offline from
tomorrow until Sunday night in case of other submit requests].
- Daniel