LLVM  4.0.0
Static Public Member Functions | List of all members
llvm::ErrorHandlerTraits< Error(&)(std::unique_ptr< ErrT >)> Class Template Reference

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

#include <Error.h>

Static Public Member Functions

static bool appliesTo (const ErrorInfoBase &E)
 
template<typename HandlerT >
static Error apply (HandlerT &&H, std::unique_ptr< ErrorInfoBase > E)
 

Detailed Description

template<typename ErrT>
class llvm::ErrorHandlerTraits< Error(&)(std::unique_ptr< ErrT >)>

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

Definition at line 434 of file Support/Error.h.

Member Function Documentation

template<typename ErrT >
static bool llvm::ErrorHandlerTraits< Error(&)(std::unique_ptr< ErrT >)>::appliesTo ( const ErrorInfoBase E)
inlinestatic

Definition at line 436 of file Support/Error.h.

template<typename ErrT >
template<typename HandlerT >
static Error llvm::ErrorHandlerTraits< Error(&)(std::unique_ptr< ErrT >)>::apply ( HandlerT &&  H,
std::unique_ptr< ErrorInfoBase E 
)
inlinestatic

Definition at line 441 of file Support/Error.h.

References assert(), and H.


The documentation for this class was generated from the following file: