Indeed, live and learn. Apparently, C++ is more sane here.