Add more checked_delete tests, a visit_each test.

This commit is contained in:
Peter Dimov
2014-06-03 21:02:36 +03:00
parent d30b4b2ec3
commit 7ebcee675a
5 changed files with 154 additions and 1 deletions

View File

@@ -23,6 +23,5 @@ int main()
{
Incomplete * p = 0;
boost::checked_delete(p); // should cause compile time error
boost::checked_array_delete(p); // should cause compile time error
return 0;
} // main