[Webkit-unassigned] [Bug 192728] wtf/Optional.h: move-constructor and move-assignment operator should disengage the value being moved from
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 14 16:57:56 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=192728
--- Comment #3 from David Kilzer (:ddkilzer) <ddkilzer at webkit.org> ---
I have fixes for the move-constructor and move-assignment operator, but I'm not sure if I need to do anything for these methods:
constexpr T&& value() &&;
constexpr const T&& value() const &&;
As documented here: <https://en.cppreference.com/w/cpp/utility/optional/value>
(I can't figure out how to write C++ to actually use those methods, so help would be appreciated!)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181215/a925cc0c/attachment.html>
More information about the webkit-unassigned
mailing list