Fix tryTo to support conversion to enumerations
Summary: [Folly] Fix `tryTo` to support conversion to enumerations. `tryTo` should return `Expected<Tgt, ConversionCode>` instead of `Tgt`. Reviewed By: yfeldblum Differential Revision: D5144706 fbshipit-source-id: cd23f3cf75de7c5a26bc569f3cb47fff360f6e2a
Showing
Please register or sign in to comment