Assume existance of lambdas

This commit is contained in:
Alexander Grund 2020-07-09 18:58:49 +02:00
parent 9faab7749c
commit 2f72d5639e
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
3 changed files with 0 additions and 18 deletions

View file

@ -623,8 +623,6 @@ BOOST_AUTO_TEST_CASE( demonstrates_adding_a_custom_constraint_with_boost_phoenix
//]
}
#ifdef MOCK_LAMBDAS
namespace constraints_example_7
{
//[ constraints_example_7
@ -641,8 +639,6 @@ BOOST_AUTO_TEST_CASE( demonstrates_adding_a_constraint_with_cxx11_lambda )
//]
}
#endif
namespace constraints_example_8
{
//[ constraints_example_8
@ -711,8 +707,6 @@ BOOST_AUTO_TEST_CASE( demonstrates_enforcing_several_expectation_orders )
//]
}
#ifdef MOCK_LAMBDAS
namespace action_example_1
{
//[ action_example_1
@ -739,8 +733,6 @@ BOOST_AUTO_TEST_CASE( demonstrates_configuring_actions )
//]
}
#endif
namespace action_example_2
{
//[ action_example_2

View file

@ -46,12 +46,6 @@
# endif
#endif
#if !defined(BOOST_NO_CXX11_LAMBDAS) && !defined(BOOST_NO_LAMBDAS)
# ifndef MOCK_NO_LAMBDAS
# define MOCK_LAMBDAS
# endif
#endif
#if !defined(BOOST_NO_AUTO_PTR)
# ifndef MOCK_NO_AUTO_PTR
# define MOCK_AUTO_PTR

View file

@ -99,8 +99,6 @@ 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 )
{
is_not_functor( []() {} );
@ -108,5 +106,3 @@ BOOST_AUTO_TEST_CASE( cxx11_lambda_is_functor )
is_not_functor( []( const std::string&, int ) {} );
is_not_functor( []( int, const std::string& ) {} );
}
#endif