Brent Huisman

The world-wide home of Brent Huisman. Enjoy your stay!

Particle Physics, Proton Therapy, Treatment verification.

C++, Python, Numpy, Dicom, Qt.

Get in touch.

Out of it

I’ve been a little bit out of it! That’s what you get when you’ve been working at a place where C++98 was not universally assumed in the code base. But let’s not speak of that now 😉

Lambdas make an awful lot of sense, but until 2011 they didn’t exist in C++. In the name of being able to compile on CentOS 6 (5?) we only could start using C++11 right around the time I left (finished the PhD and all that), so I never had an opportunity to really go into it. I only saw scary line noise on the webz. Turns out, C++ lambdas are as simple as they should be, and here they are explained simply. Thanks Bartek!