Initial Boost.Function commit

[SVN r10372]
This commit is contained in:
Beman Dawes
2001-06-21 17:01:43 +00:00
parent 62db26b94d
commit 322df8287e
10 changed files with 1672 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#define BOOST_INCLUDE_MAIN
#include <boost/test/test_tools.hpp>
#include <boost/function.hpp>
using namespace std;
using namespace boost;
int
test_main(int, char*[])
{
function<int> f1;
function<int> f2;
if (f1 == f2) {
}
BOOST_CRITICAL_ERROR("This should not have compiled.");
return 0;
}