18#ifndef ROOTUTILS_WITHROOTERRORHANDLER_H
19#define ROOTUTILS_WITHROOTERRORHANDLER_H
63 using Handler_t = std::function<bool (
int, Bool_t,
const char*,
const char*)>;
93 static void*
operator new (size_t) =
delete;
94 static void*
operator new[] (size_t) =
delete;
95 static void operator delete (
void*) =
delete;
96 static void operator delete[] (
void*) =
delete;
WithRootErrorHandler & operator=(const WithRootErrorHandler &)=delete
size_t m_size
For error checking.
WithRootErrorHandler(const WithRootErrorHandler &)=delete
~WithRootErrorHandler()
Destructor.
std::function< bool(int, Bool_t, const char *, const char *)> Handler_t
Type of handler to register.
WithRootErrorHandler(Handler_t errhand)
Temporarily install a thread-local root error handler.
WithRootErrorHandler(WithRootErrorHandler &&)=delete