Home
last modified time | relevance | path

Searched refs:tryEmplaceWith (Results 1 – 7 of 7) sorted by relevance

/dports/devel/folly/folly-2021.12.27.00/folly/test/
H A DTryTest.cpp287 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 DCollect-inl.h77 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 DTry.h642 T* tryEmplaceWith(Try<T>& t, Func&& func) noexcept;
656 bool tryEmplaceWith(Try<void>& t, Func&& func) noexcept;
H A DTry-inl.h266 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 DTry.h683 T* tryEmplaceWith(Try<T>& t, Func&& func) noexcept;
697 bool tryEmplaceWith(Try<void>& t, Func&& func) noexcept;
H A DTry-inl.h306 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 DFiberManagerInternal-inl.h464 folly::tryEmplaceWith(result_, std::move(func_));
552 folly::tryEmplaceWith(result, std::forward<F>(func));