GIR to C++11 conversion