all overloads are declared const now, where possible also revised cpp examples and ran them to check see https://github.com/jcupitt/libvips/issues/983
see https://github.com/jcupitt/libvips/pull/213 this now works: VImage rows; VImage cols = in.profile( &rows );
and test_overloads.cpp has started working