#include <functional.hpp>
Public Types | |
| typedef BPI::result_type | result_type |
| result type of the binary predicate | |
| typedef BPI::first_argument_type | first_argument_type |
| first argument type of the binary predicate | |
| typedef BPI::second_argument_type | second_argument_type |
| second argument type of the binary predicate | |
Public Member Functions | |
| result_type | operator() (first_argument_type f, second_argument_type s) |
| operator () | |
| bnot2 (BP p) throw () | |
| Constructor. | |
It is implemented so that it deals with BP using interface of the instigate::stl::binary_predicate. As a consequence, it is more generic than the standard STL-style not2, which would impose syntactical requirements on BP.
| instigate::stl::bnot2< BP >::bnot2 | ( | BP | p | ) | throw () [inline] |
Constructor.
| p | - predicate |
| result_type instigate::stl::bnot2< BP >::operator() | ( | first_argument_type | f, | |
| second_argument_type | s | |||
| ) | [inline] |
operator ()
Negate the result of binary predicate call.
| f | - the first argument for binary predicate | |
| s | - the second argument for binary predicate |
References instigate::stl::invoke().