erased_unique_ptr
Summary: There are lots of unnecessary uses of shared_ptr for type erasure where refcounting is not needed because it is trivial to convert to shared_ptr<void>, while it is more involved to make the equivalent unique_ptr. Adds a utility that hides the details to bring effort parity between the two pointer types. Reviewed By: yfeldblum Differential Revision: D26323443 fbshipit-source-id: e33c5378f7df3105c7cb97d2622dca351b866035
Showing
Please register or sign in to comment