On Wed, Mar 5, 2014 at 8:43 AM, Marko Rauhamaa <ma...@pacujo.net> wrote: > Chris Angelico <ros...@gmail.com>: > >> C++ at least has typedefs, and in the newer standards, the 'auto' >> keyword was repurposed. > > Last I checked, C++ had no satisfactory way to express > callbacks/functors/listeners/lambdas. That's why Qt came up with a > metacompiler to supplement C++'s facilities.
I think one of the recent standards added some kind of closure for callbacks. I tried to grok it and couldn't figure out what it was doing, so I gave it up as a bad job. It got hairy. Really hairy. Either that, or I was reading a poorly-written article, which is also possible. ChrisA -- https://mail.python.org/mailman/listinfo/python-list