proxygen
Try.h File Reference
#include <folly/ExceptionWrapper.h>
#include <folly/Likely.h>
#include <folly/Memory.h>
#include <folly/Portability.h>
#include <folly/Unit.h>
#include <folly/Utility.h>
#include <folly/functional/Invoke.h>
#include <folly/lang/Exception.h>
#include <exception>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <folly/Try-inl.h>

Go to the source code of this file.

Classes

class  folly::TryException
 
class  folly::UsingUninitializedTry
 
class  folly::Try< T >
 
class  folly::Try< void >
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Functions

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>
Tfolly::tryEmplace (Try< T > &t, Args &&...args) noexcept
 
void folly::tryEmplace (Try< void > &t) noexcept
 
template<typename T , typename Func >
Tfolly::tryEmplaceWith (Try< T > &t, Func &&func) noexcept
 
template<typename Func >
bool folly::tryEmplaceWith (Try< void > &t, Func &&func) noexcept
 
template<typename Tuple >
auto folly::unwrapTryTuple (Tuple &&instance)