Truncate history, version 1.0.0-b2

This commit is contained in:
Vinnie Falco
2017-07-20 08:01:46 -07:00
commit 9a3a42a644
204 changed files with 46608 additions and 0 deletions

37
test/bind_handler.cpp Normal file
View File

@@ -0,0 +1,37 @@
//
// Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Test that header file is self-contained.
#include <beast/bind_handler.hpp>
#include <beast/detail/unit_test/suite.hpp>
#include <functional>
namespace beast {
namespace test {
class bind_handler_test : public detail::unit_test::suite
{
public:
static void foo (int)
{
}
void run()
{
auto f (bind_handler (
std::bind (&foo, std::placeholders::_1),
42));
f();
pass();
}
};
BEAST_DEFINE_TESTSUITE(bind_handler,core,beast);
} // test
} // beast