explicit Errhandler(MPI_File_errhandler_fn *function):file_func_(function){};
explicit Errhandler(MPI_Win_errhandler_fn *function):win_func_(function){};
void ref();
explicit Errhandler(MPI_File_errhandler_fn *function):file_func_(function){};
explicit Errhandler(MPI_Win_errhandler_fn *function):win_func_(function){};
void ref();
void call(MPI_Comm comm, int errorcode) const;
void call(MPI_Win win, int errorcode) const;
void call(MPI_File file, int errorcode) const;
static void unref(Errhandler* errhandler);
static Errhandler* f2c(int id);
};
void call(MPI_Comm comm, int errorcode) const;
void call(MPI_Win win, int errorcode) const;
void call(MPI_File file, int errorcode) const;
static void unref(Errhandler* errhandler);
static Errhandler* f2c(int id);
};