mirror of
https://github.com/boostorg/contract.git
synced 2026-01-24 05:42:16 +00:00
v0.3.490
Contract Programming for C++ (Contract++)
=========================================
See "doc/html/index.html" for the library documentation.
All Contract Programming features of the Eiffel programming language
are supported by this library, among others:
* Optional compilation and checking of invariants, preconditions,
and postconditions.
* Customizable actions on contract failure (terminate by default
but it can throw, exit, etc).
* Subcontracting for derived classes (with support for multiple
inheritance).
* Access to "old" variable values (before body execution) and
return value "result" in postconditions.
* Block invariants and loop variants.
Files organization:
* All library source is in the "src/" directory.
* Examples are in "example/" and test programs in "test/".
* Run `make' in the main directory to see how to build examples, etc.
Description
Languages
C++
99.6%
Eiffel
0.1%
CMake
0.1%