#include <folly/Utility.h>
#include <folly/functional/Invoke.h>
#include <stdexcept>
#include <tuple>
Go to the source code of this file.
|
template<typename F > |
std::enable_if< !std::is_same< invoke_result_t< F >, void >::value, Try< invoke_result_t< F > > >::type | folly::makeTryWith (F &&f) |
|
template<typename F > |
std::enable_if< std::is_same< invoke_result_t< F >, void >::value, Try< void > >::type | folly::makeTryWith (F &&f) |
|
template<typename T , typename... Args> |
T * | folly::tryEmplace (Try< T > &t, Args &&...args) noexcept |
|
void | folly::tryEmplace (Try< void > &t) noexcept |
|
template<typename T , typename Func > |
T * | folly::tryEmplaceWith (Try< T > &t, Func &&func) noexcept |
|
template<typename Func > |
bool | folly::tryEmplaceWith (Try< void > &t, Func &&func) noexcept |
|
template<std::size_t... Indices, typename Tuple > |
auto | folly::try_detail::unwrapTryTupleImpl (folly::index_sequence< Indices... >, Tuple &&instance) |
|
template<typename Tuple > |
auto | folly::unwrapTryTuple (Tuple &&instance) |
|