Hi!

I thought that this should compile:
class Foo{}

const(Foo) foo = new Foo;// the same that const Foo foo?
foo = new Foo;

but compiler say that foo is const reference and it can't modify it. It is normally?If yes,how can I declare non-const reference to const instance of class?

Reply via email to