[webkit-dev] Should we ever use std::function instead of WTF::Function?

Alex Christensen achristensen at apple.com
Tue Jun 13 12:29:07 PDT 2017


std::function, c++ lambda, and objc blocks are all interchangeable.  WTF::Functions cannot be used as objc blocks because the latter must be copyable.  Until that changes or we stop using objc, we cannot completely eliminate std::function from WebKit.


More information about the webkit-dev mailing list