(folly) Add lock holder interface to flat combining. Change an assert to a static_assert.
Summary: Two changes: - Add a lock holder interface to enable users to move exclusive access and implicitly release the held lock. - Change an assert to a static_assert to check at compile time if a provided function fits in the Function structure without dynamic allocation. Reviewed By: djwatson Differential Revision: D4770229 fbshipit-source-id: 89408164c08d7660231a6ca4e37637dd688356cd
Showing
Please register or sign in to comment