boost_function 0.1.0

Boost C++ library boost_function packaged using Zanbil
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14

// Copyright 2018 Peter Dimov.
// Distributed under the Boost Software License, Version 1.0.

#include <boost/function.hpp>
#include <boost/core/lightweight_test.hpp>

void throw_bad_function_call();

int main()
{
    BOOST_TEST_THROWS( throw_bad_function_call(), boost::bad_function_call );
    return boost::report_errors();
}