Hi,Say I have a struct S that holds a reference to an object O. Is there a way to express that I want to be able to change the reference, but not what the reference points to? Thanks.
struct S {
O object;
}
class O {
size_t things.
}
David Zhang via Digitalmars-d-learn Wed, 15 Feb 2017 16:46:58 -0800
Hi,Say I have a struct S that holds a reference to an object O. Is there a way to express that I want to be able to change the reference, but not what the reference points to? Thanks.
struct S {
O object;
}
class O {
size_t things.
}