Lecture Notes for Advanced Programming II

23 March 2004 - Function Objects


candidates can't be a parameter because std::for_each(b, e, f) requires the function argument f be a unary function, and the type of ftn(f)'s single argument is the type of the values in the iterator range (b, e).n


This page last modified on 24 March 2004.