1// Copyright 2021 Peter Dimov
2// Distributed under the Boost Software License, Version 1.0.
3// https://www.boost.org/LICENSE_1_0.txt
4
5#include <boost/bind/apply.hpp>
6#include <boost/core/lightweight_test_trait.hpp>
7
8int main()
9{
10 BOOST_TEST_TRAIT_SAME(void, boost::apply<void>::result_type);
11 BOOST_TEST_TRAIT_SAME(int&, boost::apply<int&>::result_type);
12
13 return boost::report_errors();
14}
15

source code of boost/libs/bind/test/apply_test2.cpp