jeudi 8 janvier 2015

How can i change const reference to point some other object?

I have



const Object& state = object1;


i want to change state = object2. Is it possible to do by any kind of casting or removing const reference?


Aucun commentaire:

Enregistrer un commentaire