Let SingletonThreadLocal creator return derived type
Summary: [Folly] Let `SingletonThreadLocal` creator return derived type. This is a different interface for the creator type, and means supporting non-moveable/non-copyable types with an extra pointer indirection pre-C++17. Reviewed By: andriigrynenko Differential Revision: D13165769 fbshipit-source-id: 39f2b5fed48342dd3178a20838af50c43aabee86
Showing
Please register or sign in to comment