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 #include <boost/core/is_same.hpp>
8 
main()9 int main()
10 {
11     BOOST_TEST_TRAIT_TRUE((boost::core::is_same<void, boost::apply<void>::result_type>));
12     BOOST_TEST_TRAIT_TRUE((boost::core::is_same<int&, boost::apply<int&>::result_type>));
13 
14     return boost::report_errors();
15 }
16