[Webkit-unassigned] [Bug 164199] New: [WTF] Make Optional<literal type> literal type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 29 23:00:04 PDT 2016


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

            Bug ID: 164199
           Summary: [WTF] Make Optional<literal type> literal type
    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: utatane.tea at gmail.com

WTF::Optional<> uses placement new. It makes this thing non-literal-type, and prevent us from using Optional in constexpr.
This means that we cannot use `static const XXX value` global variable where XXX includes Optional<> thingy since we WebKit do not allow global constructors.

-- 
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/20161030/1e339e30/attachment.html>


More information about the webkit-unassigned mailing list