2021-03-06 18:42:13 +02:00
|
|
|
// Copyright 2021 Peter Dimov
|
|
|
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
// https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
|
|
|
|
|
|
#include <boost/bind/apply.hpp>
|
|
|
|
|
#include <boost/core/lightweight_test_trait.hpp>
|
|
|
|
|
|
|
|
|
|
int main()
|
|
|
|
|
{
|
2022-12-23 05:38:26 +02:00
|
|
|
BOOST_TEST_TRAIT_SAME(void, boost::apply<void>::result_type);
|
|
|
|
|
BOOST_TEST_TRAIT_SAME(int&, boost::apply<int&>::result_type);
|
2021-03-06 18:42:13 +02:00
|
|
|
|
|
|
|
|
return boost::report_errors();
|
|
|
|
|
}
|