[webkit-dev] Watch out for std::optional's move constructor
fujii.hironori at gmail.com
Tue Dec 18 05:21:23 PST 2018
On Tue, Dec 18, 2018 at 12:25 PM Ryosuke Niwa <ryosuke.niwa at gmail.com>
> Also, as Geoff has already pointed out, the behavior of STL doesn't
> prevent us from writing our own template library to always have a very well
> specified & good state after std::move'ed & its value was move-constructed.
Do you mean only WTF classes should guarantee the valid empty state after
Should we use std::exchange and std::move properly for other classes in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev