vector<bool> V; ... transform(V.begin(), V.end(), V.begin(), logical_not<bool>());Definition Defined in the standard header functional, and in the nonstandard backward-compatibility header function.h. Template parameters Parameter Description Default T The type of logical_not's argument Model ofAdaptable Predicate, DefaultConstructible Type requirementsT must be convertible to bool. Public base classesunary_function<T, bool> Members Notes See also The function object overview, logical_or, logical_and. STL Main Page
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4