An accessor function might be a better way to go than a reference anyway, even if you keep the pointers as they are.