Searched refs:tryEmplaceWith (Results 1 – 7 of 7) sorted by relevance
/dports/devel/folly/folly-2021.12.27.00/folly/test/ |
H A D | TryTest.cpp | 287 TEST(Try, tryEmplaceWith) { in TEST() argument 289 tryEmplaceWith(t, [] { return "hello"; }); in TEST() 296 tryEmplaceWith(t, []() -> int { throw MyException{}; }); in TEST() 313 tryEmplaceWith(t, [] { return false; }); in TEST() 315 tryEmplaceWith(t, [] { return true; }); in TEST() 323 tryEmplaceWith(t, [&] { hasRun = true; }); in TEST() 328 tryEmplaceWith(t, [&] { throw MyException{}; }); in TEST()
|
/dports/devel/folly/folly-2021.12.27.00/folly/fibers/async/ |
H A D | Collect-inl.h | 77 tryEmplaceWith( in executeAndMaybeAssign() 87 tryEmplaceWith(outref, [task = static_cast<T&&>(task)] { in executeAndMaybeAssign()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/Folly/folly/ |
H A D | Try.h | 642 T* tryEmplaceWith(Try<T>& t, Func&& func) noexcept; 656 bool tryEmplaceWith(Try<void>& t, Func&& func) noexcept;
|
H A D | Try-inl.h | 266 T* tryEmplaceWith(Try<T>& t, Func&& func) noexcept { in tryEmplaceWith() function 282 bool tryEmplaceWith(Try<void>& t, Func&& func) noexcept { in tryEmplaceWith() function
|
/dports/devel/folly/folly-2021.12.27.00/folly/ |
H A D | Try.h | 683 T* tryEmplaceWith(Try<T>& t, Func&& func) noexcept; 697 bool tryEmplaceWith(Try<void>& t, Func&& func) noexcept;
|
H A D | Try-inl.h | 306 T* tryEmplaceWith(Try<T>& t, Func&& func) noexcept { in tryEmplaceWith() function 319 bool tryEmplaceWith(Try<void>& t, Func&& func) noexcept { in tryEmplaceWith() function
|
/dports/devel/folly/folly-2021.12.27.00/folly/fibers/ |
H A D | FiberManagerInternal-inl.h | 464 folly::tryEmplaceWith(result_, std::move(func_)); 552 folly::tryEmplaceWith(result, std::forward<F>(func));
|