added oldof test, renamed type to scoped

This commit is contained in:
Lorenzo Caminiti
2015-04-25 22:37:35 -07:00
parent 524d58ac9a
commit 3146d3fa3d
19 changed files with 240 additions and 99 deletions

View File

@@ -1,7 +1,6 @@
#include "../aux_/oteststream.hpp"
#include <boost/contract/free_function.hpp>
#include <boost/contract/type.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <sstream>
@@ -10,7 +9,7 @@
boost::contract::aux::test::oteststream out;
void f() {
boost::contract::type c = boost::contract::free_function()
auto c = boost::contract::free_function()
.precondition([&] {
out << "f::pre" << std::endl;
})