[Webkit-unassigned] [Bug 164526] New: Implement WTF::Expected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 8 15:14:32 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=164526
Bug ID: 164526
Summary: Implement WTF::Expected
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jfbastien at apple.com
As described in http://wg21.link/p0323r1
std::expected isn't in C++17, and may be in C++20. It's a nice complement to std::any / std::optional because it's a type-tagged union which has a single expected result but could also contain an error.
This would be useful in the WebAssembly parser, for example.
Using this implementation will allow us to provide feedback to the standards committee and guide std::expected's design before it gets standardized. I've already sent a bunch of feedback to the author based on my experience implementing this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161108/4796e3d1/attachment.html>
More information about the webkit-unassigned
mailing list