Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
predicate « STL Basics « C++
C++
STL Basics
predicate
1.
Create your own unary function
2.
use generic function as predicate
3.
Function object to process the mean value
4.
Illustrating the use of an adaptor for pointers to functions
5.
Use predicate, which returns whether an integer is a prime number, with a list
6.
Convenience function for the compose_f_gx adapter
7.
Convenience function for the compose_f_gx_hx adapter
8.
Convenience function for the compose_f_gx_hy adapter