PETSc version 3.17.0
Fix/Edit manual page

CHKERRCXX

Checks C++ function calls and if they throw an exception, catch it and then return a PETSc error code

Synopsis

#include <petscerror.h>
void CHKERRCXX(func) noexcept;
Not Collective

Input Parameter

func - C++ function calls

Notes

Deprecated in favor of PetscCallCXX(). This routine behaves identically to it.

See Also

PetscCallCXX()

Level

deprecated

Location

src/sys/error/../../../include/petscerror.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages