proxygen
ExceptionWrapper.h File Reference
#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.

Classes

class  folly::exception_wrapper
 
struct  folly::exception_wrapper::AnyException
 
struct  folly::exception_wrapper::arg_type_< Fn >
 
struct  folly::exception_wrapper::VTable
 
struct  folly::exception_wrapper::Unknown
 
struct  folly::exception_wrapper::Buffer
 
struct  folly::exception_wrapper::ThrownTag
 
struct  folly::exception_wrapper::InSituTag
 
struct  folly::exception_wrapper::OnHeapTag
 
struct  folly::exception_wrapper::ExceptionPtr
 
struct  folly::exception_wrapper::InPlace< Ex >
 
struct  folly::exception_wrapper::SharedPtr
 
struct  folly::exception_wrapper::SharedPtr::Base
 
struct  folly::exception_wrapper::SharedPtr::Impl< Ex >
 
struct  folly::exception_wrapper::IsRegularExceptionType< T >
 
struct  folly::exception_wrapper::ExceptionTypeOf< CatchFn, IsConst >
 
struct  folly::exception_wrapper::HandleReduce< IsConst >
 
struct  folly::exception_wrapper::HandleStdExceptReduce< IsConst >
 

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)
 

Macro Definition Documentation

#define FOLLY_EXCEPTION_WRAPPER_H_INCLUDED

Definition at line 50 of file ExceptionWrapper.h.

#define FOLLY_REQUIRES_DEF (   ...)    _t<std::enable_if<static_cast<bool>(__VA_ARGS__), long>>