[Cs3] I forgot the parentheses in bounding the functor

Mikhail Nesterenko mikhail at cs.kent.edu
Tue Feb 25 10:44:08 EST 2020


CS3 students,

This is regadging today's example of binding the functor. It did not
compile because I fogot to add parentheses. The fixed example is here

http://vega.cs.kent.edu/~mikhail/classes/cs3/Examples/STLAlgorithms/Functors/functorExample.cpp

It compiles and works as expected.

Thanks,
-- 
Mikhail


More information about the cs3 mailing list