Attempt to make std::pair piecewise constructor noexcept

François Dumont frs.dumont@gmail.com
Thu Dec 13 22:13:00 GMT 2018


Hi

     I had a try to make std::pair piecewise constructor noexcept 
qualified as you'll see in the attached diff. It will help to have more 
move semantic in associative containers.

     But it doesn't work, is_nothrow_constructible<pair<int, int>, 
piecewise_construct_t, tuple<int>, tuple<int>>::value still false.

     Could you let me know before I lose too much time if it is feasible 
or not ? Or at least if I am on the right path.

Thanks for any help,

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noexcept_piecewise_pair_construct.patch
Type: text/x-patch
Size: 79635 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20181213/a362a4e0/attachment.bin>


More information about the Libstdc++ mailing list