Assertion: unary predicate | /r/DefinedAs | bool iseven(int elem
Facets:
Source sentences:
text: If you look at typical examples of predicates that are given in C++ text books, then you'll find unary predicates such as isEven defined as bool isEven(int elem) { return elem %2 == 0; } or expressions such as bind2nd(greater<int>(),4), which is a unary predicate created from a predefined binary predicate by means of a so-called binder.