• Kevin Doherty's avatar
    add eraseInto api to F14Set · 7153cc6b
    Kevin Doherty authored
    Summary:
    - Expose an API to erase an item from `F14Set` and do something with it before it is destroyed
    - This includes (but is not limited to) being able to `std::move` it to another container while avoiding a copy
    - Change erase implementations to forward to `eraseInto(...args, emptyCallback)`
    
    Reviewed By: shixiao
    
    Differential Revision: D7588928
    
    fbshipit-source-id: 5e9c2bda216c5c219c333282daadd2170e6a1eba
    7153cc6b
F14Table.h 53.3 KB