Helper for testing applicability of, and applying, handlers for ErrorInfo types.

Synopsis

Declared in <llvm/Support/Error.h>

template<typename HandlerT>
class ErrorHandlerTraits
    : public ErrorHandlerTraits<decltype(&std::remove_reference_t<HandlerT>::operator)>

Base Classes

Name

Description

ErrorHandlerTraits<decltype(&std::remove_reference_t<HandlerT>::operator)>

Helper for testing applicability of, and applying, handlers for ErrorInfo types.

Specializations

Name

Description

ErrorHandlerTraits<Error(&)(std::unique_ptr<ErrT>)>

Specialization for functions of the form 'Error (std::unique_ptr<ErrT>)'.

ErrorHandlerTraits<Error(&)(ErrT&)>

Specialization for handlers of the form 'Error (ErrT &)'.

ErrorHandlerTraits<void(&)(std::unique_ptr<ErrT>)>

Specialization for functions of the form 'void (std::unique_ptr<ErrT>)'.

ErrorHandlerTraits<void(&)(ErrT&)>

Specialization for handlers of the form 'void (ErrT &)'.

ErrorHandlerTraits<RetT const(C::*)(std::unique_ptr<ErrT>)>

Specialization for member functions of the form 'RetT (std::unique_ptr<ErrT>)'.

Derived Classes

Name

Description

ErrorHandlerTraits<RetT const(C::*)(std::unique_ptr<ErrT>)>

Specialization for member functions of the form 'RetT (std::unique_ptr<ErrT>)'.

ErrorHandlerTraits

Helper for testing applicability of, and applying, handlers for ErrorInfo types.

Created with MrDocs