Page MenuHomePhabricator

Refactor std::function to more easily support alternative implementations.
ClosedPublic

Authored by jsoyke on Dec 10 2018, 9:47 AM.

Details

Reviewers
EricWF
Summary

This change adds a new internal class, called value_func, that adds
a minimal subset of value-type semantics to the internal
func interface.

Event Timeline

jsoyke created this revision.Dec 10 2018, 9:47 AM
EricWF accepted this revision.Dec 10 2018, 10:08 AM

LGTM. Thanks for factoring this out.
Do you have commit access.

This revision is now accepted and ready to land.Dec 10 2018, 10:08 AM
EricWF closed this revision.Dec 10 2018, 10:17 AM

Committed as r348778.