predicate « STL Basics « C++

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