[Webkit-unassigned] [Bug 258605] New: Generated IPC serializers use deprecated stream input operator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 27 23:22:03 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258605

            Bug ID: 258605
           Summary: Generated IPC serializers use deprecated stream input
                    operator
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kkinnunen at apple.com
                CC: kkinnunen at apple.com,
                    webkit-bug-importer at group.apple.com

Generated IPC serializers use deprecated stream input operator

Pattern is deprecated:
    std::optional<T> result;
    decoder >> result;

This is on the grounds of it not supporting non-default-constructible T.
This means we have to have support for: 
    auto result = decoder.decode<T>();

Since we need latter anyway, we having the former is redundant.

-- 
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/20230628/805c6eaf/attachment.htm>


More information about the webkit-unassigned mailing list