// Copyright 2021 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #include #if defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) #include BOOST_PRAGMA_MESSAGE( "Skipping test because BOOST_NO_CXX11_HDR_FUNCTIONAL is defined" ) int main() {} #else void func() { } int main() { std::function( boost::lambda::bind( func ) ); } #endif