**** THIS LIBRARY WAS MOVED INTO Boost ****
New location: https://github.com/boostorg/contract
C++ Contract Programming (a.k.a. Design by Contract or DbC).
All Eiffel features supported: subcontracting, postcondition old and result values, optional contract compilation, customizable action on assertion failure, block invariants, loop variants, etc.
Plus virtual specifiers, concept checking, named parameters.
See: http://contractpp.sourceforge.net
Features
- Support for preconditions, postconditions, class invariants, block invariants, and loop variants.
 - Subcontract derived classes (with support for pure virtual functions and multiple inheritance).
 - Access expression old values and function return value in postconditions.
 - Optional compilation and checking of preconditions, postconditions, class invariants, block invariants, and loop variants.
 - Customizable actions on contract assertion failure (terminate by default but it can throw, exit, etc).
 - Virtual specifiers.
 - Concept checking.
 - Named parameters.
 
License
Boost Software License (BSL1.0), Other LicenseFollow Contract++
Other Useful Business Software
    
                    
                    Gen AI apps are built with MongoDB Atlas
                    
                    
                
            
                            MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
                        
                    Rate This Project
Login To Rate This Project
    User Reviews
- 
    
    
    Great software, thank you.