same const_cast + c_char + reserve trick ?