mirror of
https://github.com/boostorg/contract.git
synced 2026-02-28 05:12:20 +00:00
moved set/ to public api, added oldof, and started adding failure exceptions/handlers
This commit is contained in:
12
test/free_function/set_pre_pre_error.cpp
Normal file
12
test/free_function/set_pre_pre_error.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
#include <boost/contract/free_function.hpp>
|
||||
#include <boost/contract/type.hpp>
|
||||
|
||||
int main() {
|
||||
boost::contract::type c = boost::contract::free_function()
|
||||
.precondition([&] {})
|
||||
.precondition([&] {})
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user