mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Assume existance of <functional>
This commit is contained in:
parent
f154a1a22a
commit
9faab7749c
6 changed files with 16 additions and 20 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue