• Maged Michael's avatar
    (folly) Add lock holder interface to flat combining. Change an assert to a static_assert. · 2e0f52d2
    Maged Michael authored
    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
    2e0f52d2
FlatCombiningTestHelpers.h 5.29 KB