compiler: cpp: non-const getters