Assume existance of <functional>

This commit is contained in:
Alexander Grund 2020-07-09 18:51:40 +02:00
parent f154a1a22a
commit 9faab7749c
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
6 changed files with 16 additions and 20 deletions

View file

@ -18,6 +18,7 @@
#endif
#include <boost/function.hpp>
#include <boost/bind.hpp>
#include <functional>
namespace
{
@ -93,6 +94,11 @@ BOOST_AUTO_TEST_CASE( boost_function_is_functor )
is_functor( boost::function< void(int) >() );
}
BOOST_AUTO_TEST_CASE( std_function_is_functor )
{
is_functor( std::function< void(int) >() );
}
#ifdef MOCK_LAMBDAS
BOOST_AUTO_TEST_CASE( cxx11_lambda_is_functor )