proxygen
|
#include <cassert>
#include <cstdint>
#include <exception>
#include <iosfwd>
#include <memory>
#include <new>
#include <type_traits>
#include <typeinfo>
#include <utility>
#include <folly/CPortability.h>
#include <folly/Demangle.h>
#include <folly/ExceptionString.h>
#include <folly/FBString.h>
#include <folly/Portability.h>
#include <folly/Traits.h>
#include <folly/Utility.h>
#include <folly/lang/Assume.h>
#include <folly/ExceptionWrapper-inl.h>
Go to the source code of this file.
Namespaces | |
folly | |
—— Concurrent Priority Queue Implementation —— | |
folly::exception_wrapper_detail | |
folly::detail | |
Macros | |
#define | FOLLY_EXCEPTION_WRAPPER_H_INCLUDED |
#define | FOLLY_REQUIRES_DEF(...) _t<std::enable_if<static_cast<bool>(__VA_ARGS__), long>> |
#define | FOLLY_REQUIRES(...) FOLLY_REQUIRES_DEF(__VA_ARGS__) = __LINE__ |
Typedefs | |
template<template< class > class T, class... As> | |
using | folly::exception_wrapper_detail::AllOf = StrictConjunction< T< As >... > |
template<bool If, class T > | |
using | folly::exception_wrapper_detail::AddConstIf = _t< std::conditional< If, const T, T >> |
Functions | |
template<class Fn , class A > | |
FOLLY_ALWAYS_INLINE FOLLY_ATTR_VISIBILITY_HIDDEN auto | folly::exception_wrapper_detail::fold (Fn &&, A &&a) |
template<class Fn , class A , class B , class... Bs> | |
FOLLY_ALWAYS_INLINE FOLLY_ATTR_VISIBILITY_HIDDEN auto | folly::exception_wrapper_detail::fold (Fn &&fn, A &&a, B &&b, Bs &&...bs) |
template<class Ex , typename... As> | |
exception_wrapper | folly::make_exception_wrapper (As &&...as) |
template<class Ch > | |
std::basic_ostream< Ch > & | folly::operator<< (std::basic_ostream< Ch > &sout, exception_wrapper const &ew) |
void | folly::swap (exception_wrapper &a, exception_wrapper &b) noexcept |
fbstring | folly::exceptionStr (exception_wrapper const &ew) |
template<typename F > | |
exception_wrapper | folly::detail::try_and_catch_ (F &&f) |
template<typename F , typename Ex , typename... Exs> | |
exception_wrapper | folly::detail::try_and_catch_ (F &&f) |
template<typename... Exceptions, typename F > | |
exception_wrapper | folly::try_and_catch (F &&fn) |
#define FOLLY_EXCEPTION_WRAPPER_H_INCLUDED |
Definition at line 50 of file ExceptionWrapper.h.
#define FOLLY_REQUIRES | ( | ... | ) | FOLLY_REQUIRES_DEF(__VA_ARGS__) = __LINE__ |
Definition at line 57 of file ExceptionWrapper.h.
Referenced by folly::exception_wrapper::exception_wrapper(), folly::exception_wrapper::HandleReduce< IsConst >::operator()(), and folly::exception_wrapper::HandleStdExceptReduce< IsConst >::operator()().
#define FOLLY_REQUIRES_DEF | ( | ... | ) | _t<std::enable_if<static_cast<bool>(__VA_ARGS__), long>> |
Definition at line 54 of file ExceptionWrapper.h.
Referenced by folly::exception_wrapper_detail::dont_slice(), and folly::exception_wrapper::exception_wrapper().