We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c597e58 commit 6c42375Copy full SHA for 6c42375
xml/issue4164.xml
@@ -53,6 +53,11 @@ A "no effects" guarantee is already given for `push_front` and `emplace_front`
53
in <sref ref="[container.reqmts]"/> p66, although that doesn't say anything
54
about iterator invalidation so we might want to add that to
55
<sref ref="[forward.list.modifiers]"/> too.
56
+For the functions that insert a single element, it's trivial to not modify
57
+the list if allocating a new node of constructing the element throws.
58
+The strong exception safety guarantee for the multi-element insertion functions
59
+is easily achieved by inserting into a temporary `forward_list` first,
60
+then using `splice_after` which is non-throwing.
61
</p>
62
63
</discussion>
0 commit comments