mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Remove std::bind1st test for C++17
This commit is contained in:
parent
29c7e2d067
commit
0d4a9f1e33
1 changed files with 2 additions and 0 deletions
|
|
@ -544,6 +544,7 @@ bool custom_constraint(int expected, int actual)
|
|||
return expected == actual;
|
||||
}
|
||||
|
||||
#if MOCK_CXX_VERSION < 201703L
|
||||
BOOST_AUTO_TEST_CASE(demonstrates_adding_a_custom_constraint_with_a_standard_library_functor)
|
||||
{
|
||||
mock_class c;
|
||||
|
|
@ -551,6 +552,7 @@ BOOST_AUTO_TEST_CASE(demonstrates_adding_a_custom_constraint_with_a_standard_lib
|
|||
std::bind1st(std::ptr_fun(&custom_constraint), 42)); // std::ptr_fun creates an std::unary_function
|
||||
c.method(42);
|
||||
}
|
||||
#endif
|
||||
//]
|
||||
} // namespace constraints_example_3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue