Improve the documentation of Assume.h
Summary: We have noticed some inappropriate uses of `assume_unreachable()`, and we believe that the documentation does not convey strongly enough that it is not an assertion. This diff moves the implementation to a separate header (as the assertions in there might be misleading) and fleshes out more the intended use cases. Reviewed By: yfeldblum, mkatsevVR, luciang Differential Revision: D20182339 fbshipit-source-id: 8a3be1ada06dead7ea936971c42c4f30389fc23a
Showing
folly/lang/Assume-inl.h
0 → 100644
Please register or sign in to comment