3 // Copyright Neil Groves 2009. Use, modification and
4 // distribution is subject to the Boost Software License, Version
5 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
9 // For more information, see http://www.boost.org/libs/range/
11 #ifndef BOOST_RANGE_TEST_TEST_FUNCTION_FALSE_PREDICATE_HPP_INCLUDED
12 #define BOOST_RANGE_TEST_TEST_FUNCTION_FALSE_PREDICATE_HPP_INCLUDED
16 namespace range_test_function
18 struct false_predicate
20 typedef bool result_type;
22 bool operator()() const { return false; }
23 template<class Arg> bool operator()(Arg) const { return false; }
24 template<class Arg1, class Arg2> bool operator()(Arg1,Arg2) const { return false; }
29 #endif // include guard