Function::asStdFunction()
authorJames Sedgwick <jsedgwick@fb.com>
Tue, 5 Apr 2016 22:05:33 +0000 (15:05 -0700)
committerFacebook Github Bot 9 <facebook-github-bot-9-bot@fb.com>
Tue, 5 Apr 2016 22:22:44 +0000 (15:22 -0700)
commitb50d056347c7bec73b0fe23d923834437f6f0825
tree887832c1cf4685cf83c0701809e1041f410e3987
parent7f813725fa5aacead8c001e15a3b4addbd988899
Function::asStdFunction()

Summary:This is an ugly but occassionally useful hack to accomodate cases
where we want to propagate folly::Function but run into the brick wall that is
std::function

@override-unit-failures

Reviewed By: spacedentist

Differential Revision: D3118432

fb-gh-sync-id: 80ed56494dfcf60e0f266013d880107acabc7dcf
fbshipit-source-id: 80ed56494dfcf60e0f266013d880107acabc7dcf
folly/Function-pre.h
folly/Function.h
folly/test/FunctionTest.cpp