Outline `Optional::require_value()`
Summary: We would like to use `folly/Optional` in settings where exceptions are disabled. An example is ObjC++ codebases where supporting exceptions doesn't quite help (since objc_msgSend() can throw) and yet we need to pay the additional binary size cost for the unwind tables. This patch makes a small change to outline the "assert" utility included inside Optional.h Reviewed By: yfeldblum, mzlee Differential Revision: D5030172 fbshipit-source-id: 7def3c6eda22c41c8cab2037444978e0a4c50abf
Showing
folly/Optional.cpp
0 → 100644
Please register or sign in to comment