Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize folly::get_optional for nested map case
Summary: `folly::get_optional` allows the user to specify the optional type, e.g. ``` // default case - return folly::Optional get_optional(m, 1); // return std::optional get_optional<std::optional>(m, 1); ``` `folly::get_optional` also supports nested maps, however it hardcodes the return type to always be `folly::Optional`. This diff relaxes the constraints and allows the user to specify optional type, defaulting to `folly::Optional` Reviewed By: Gownta Differential Revision: D66497266 fbshipit-source-id: bef87007956c7df8c7c07a0e70716b18e770e90d
- Loading branch information