Intro to Lambda Expressions II (C++)
Did you know you could actually change what -> does like
this? CRAZY, RIGHT? :)
Ok, so we can use the () operator on our PrintFunctor struct and what will
happen? Well, we need to look a little bit further, because we also have
arguments to the operator, in this case (int x). We call them
lambdas.