libcsdbg  1.28
C++ exception (and generic) stack trace debug library
void csdbg::util::on_lib_load ( )
staticprotected

Library constructor.

Note
If an exception occurs, the process exits

Definition at line 24 of file util.cpp.

References m_config.

25 {
26  try {
27  m_config = new chain<string>;
28  return;
29  }
30 
31  catch (std::exception &x) {
32  std::cerr << x;
33  }
34 
35  exit(EXIT_FAILURE);
36 }
static chain< string > * m_config
Runtime configuration.
Definition: util.hpp:28