try_call_once, a nothrow variant of call_once
Summary: [Folly] `try_call_once`, a nothrow variant of `call_once`. Takes a `noexcept` function which returns `bool`; the function returning `false` indicates failure and that the `once_flag` is not to be marked as as set, while the function returning `true` indicates success and that the `once_flag` is to be marked as set. Reviewed By: andriigrynenko, luciang Differential Revision: D18742590 fbshipit-source-id: 3b3a6fab9a328f7540cc6fee1452a0f1367b6e0f
Showing
Please register or sign in to comment