vector with initial values: 6 6 6 6 6 deque with initial values: 22 4 -100 0 -7 STL transform() sample with two input iterator ranges and binary predicate 'plus': 28 10 -94 6 -1 STL transform() sample with one input iterator range and unary predicate 'negate': -28 -10 94 -6 1 STL transform() sample with one input iterator range and binary predicate 'plus' with binder: -21 -3 101 1 8 Original content: Andrew Serge Joanne STL replace_if() with function adapter 'ptr_fun' and binder test: Andrea Serge Joanne STL sort() with function adapter 'ptr_fun' test: Andrea Joanne Serge STL sort() with function adapter 'ptr_fun' and negator 'not2' test: Serge Joanne Andrea