> On Jun 13, 2017, at 12:37 PM, Alex Christensen <[email protected]> wrote:
> 
> I’d be opposed to adding a copy constructor to WTF::Function because the 
> non-copyability of WTF::Function is why we made it, and it has prevented many 
> bugs.

Ditto.

The lack of a copy c’tor in WTF::Function turns the compiler into a tool that 
prevents bugs that engineers would’ve otherwise introduced.

Whatever the goal of the refactoring is here, for me it’s an absolute deal 
breaker for us to end up without a <function type> that is move-only.

Thanks,
 Brady

_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to