Standard-Library Exception Safety
Bjarne Stroustrup
Texas A&M University
(and AT&T Labs – Research)
http://www.research.att.com/~bs
Introduction to the C++ exception handling mechanisms and “resource acquisition is initialization” for people with little experience with exceptions
IT++ is a C++ library of mathematical, signal processing and communication system routines/functions. Its main use is in simulation of communication systems or for performing research in the area of communications.
This package consists of the executable (UCW), a default script file,
this file, and the library files. It is important that the header files
end up in a include subdirectory of the directory where UCW is found.
If you unzip this file using its path information ( use folder names ) this will
automatically happen. You can optionally specify the UnderC directory
with the environment variable UC_HOME note that this points to the directory
containing ucw.exe. If you do this, then you can copy the executable anywhere
and it will still be able to find the header files.
UC Library Extensions
UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard.
UC Library
Builtin functions:
Most of these are standard C functions, but there are a few unique to the UnderC system which give you runtime access to the compiler. You may evaluate expressions, execute commands, compile code, etc.
* Expands the text in expr using the UnderC preprocessor, putting the result
into buff.
void uc_macro_subst(const char* expr, char* buff, int buffsize)
* Executes a UC #-command, like #l or #help.
uc_cmd() expects the name of the command, _without_ the hash,
e.g. uc_cmd("l fred.cpp") or uc_cmd("help").
void uc_cmd(const char* cmd)
* Evaluates any C++ expression or statement will return non-zero if
unsuccessful.