Add heterogenous operations in dynamic::setDefault
Summary: dynamic::setDefault already calls heterogenous `emplace(...)`, however it does not behave correctly for static constexpr strings. Add a specialization for StringPiece which solves this. The current set of tests does not invoke setDefault with an object as a key. This diffs adds a test that does that. Reviewed By: shixiao Differential Revision: D10007262 fbshipit-source-id: 386a44bf6b0a24f81e843695d177d85b280b907d
Showing
Please register or sign in to comment