[Webkit-unassigned] [Bug 143303] New: Value assignment operator of Optional should be stricter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 1 05:21:56 PDT 2015


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

            Bug ID: 143303
           Summary: Value assignment operator of Optional should be
                    stricter
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koivisto at iki.fi

struct Foo { mutable Optional<std::chrono::seconds> s; };
Foo foo, foo2;
foo = foo2;

doesn't build because it tries to use wrong operator=.

-- 
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/20150401/792e7aa7/attachment.html>


More information about the webkit-unassigned mailing list