description | eases writing fail-safe code (C++) |
homepage URL | http://programmers.at/work/on/libfsafe |
owner | arandes@programmers.at |
last change | Mon, 22 Aug 2011 20:09:30 +0000 (22 22:09 +0200) |
URL | git://repo.or.cz/libfsafe.git |
https://repo.or.cz/libfsafe.git | |
push URL | ssh://repo.or.cz/libfsafe.git |
https://repo.or.cz/libfsafe.git (learn more) | |
bundle info | libfsafe.git downloadable bundles |
content tags |
libfsafe provides a simple exception-based assertion mechanism that can be used to realize a rudimentary design-by-contract policy.
It leverages libsex to not only throw exceptions when boolean expressions evaluate to false, but also to declutter control flow by using macros that wrap new exceptions around those thrown by substatements, creating a concise backtrace that eases reconstruction of errors.
Copyright (C) 2011 Andreas Waidler arandes@programmers.at
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2011-08-22 | Andreas Waidler | Switched from libsex-3.0.0 to libsex-3.1.0.master0.1.1 | commitcommitdifftreesnapshot (tar.gz zip) |
2011-08-18 | Andreas Waidler | Initial commit, version 0.1.0.0.1.0 | commitcommitdifftreesnapshot (tar.gz zip) |
13 years ago | 0.1.1 | commitlog | ||
13 years ago | 0.1.0 | commitlog |
13 years ago | master | logtree |