[libcxx-commits] [PATCH] D73223: Partially inline basic_string copy constructor in UNSTABLE
Martijn Vels via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 3 13:14:13 PST 2020
mvels updated this revision to Diff 248000.
mvels added a comment.
Updated comments, synced with master
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
@@ -1551,7 +1551,7 @@
// Slow path for the (inlined) copy constructor for 'long' strings.
// Always externally instantiated and not inlined.
- // Asserts that __s is zero terminated.
+ // Requires that __s is zero terminated.
// The main reason for this function to exist is because for unstable, we
// want to allow inlining of the copy constructor. However, we don't want
// to call the __init() functions as those are marked as inline which may
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 630 bytes
Desc: not available
More information about the libcxx-commits