[Webkit-unassigned] [Bug 161719] New: bitwise_cast: allow const destination type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 16:47:04 PDT 2016


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

            Bug ID: 161719
           Summary: bitwise_cast: allow const destination 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: jfbastien at apple.com

I was playing around with a bitwise_cast that could be added to the C++ standard (separate implementation and tests from WTF's), and this should be made to work:
  const To to = bitwise_cast<const To>(from);

It's not super useful, but can happen when template-galore hits.

-- 
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/20160907/b6c42cba/attachment-0001.html>


More information about the webkit-unassigned mailing list