Codebase list ui-utilcpp / upstream/1.8.1.snapshot20140701142031weslok
upstream/1.8.1.snapshot20140701142031weslok

Tree @upstream/1.8.1.snapshot20140701142031weslok (Download .tar.gz)

README for ui-utilcpp
=====================

C++ utility library. This library should provide some common
code base for C++ programming.

Copyright (c) 2001-2014 United Internet AG, under LGPLv3.


Upgrading from 1.0
------------------

-> Includes:

Old                         New

ToolboxSys                  Some of File, Thread, Time, Text.
ToolboxCPP                  Some of Text, Time, File.
ToolboxSTL                  Some of Text, Time, File, Misc.

-> Interface changes:

strtok: Separator must be changed from char ('.') to std::string
(",").

-> Exceptions:

All catch() blocks must be updated. In the simplest case, the old
exception handler can be replaced by

catch (UI::Util::Exception const & e)
{
	std::cerr << e.what() << std::endl; // or whatever
}

For diversed error handling, use the respective exception classes if
needed.