libcsdbg  1.28
C++ exception (and generic) stack trace debug library
std::ostream & operator<< ( std::ostream &  lval,
const std::exception &  rval 
)

Stream insertion operator for std::exception objects.

Parameters
[in]lvalthe output stream
[in]rvalthe object to output
Returns
its first argument

Definition at line 23 of file exception.cpp.

References csdbg::util::header(), csdbg::util::lock(), and csdbg::util::unlock().

24 {
25  util::lock();
26  util::header(lval, "x");
27  lval << rval.what() << "\r\n";
28  util::unlock();
29  return lval;
30 }

+ Here is the call graph for this function: