#include <functional.hpp>
Public Types | |
| typedef UPI::result_type | result_type |
| result type of the binary predicate | |
| typedef UPI::argument_type | argument_type |
| first argument type of the binary predicate | |
Public Member Functions | |
| result_type | operator() (argument_type a) |
| operator () | |
| unot1 (UP p) throw () | |
| Constructor. | |
It is implemented so that it deals with UP using interface of the instigate::stl instigate::stl::unary_predicate. As a consequence, it is more generic than the standard STL-style not1, which would impose syntactical requirements on UP.
| instigate::stl::unot1< UP >::unot1 | ( | UP | p | ) | throw () [inline] |
Constructor.
| p | - predicate |
| result_type instigate::stl::unot1< UP >::operator() | ( | argument_type | a | ) | [inline] |
operator ()
Negates the result of unary predicate call.
| a | - the argument of the unary predicate |
References instigate::stl::invoke().