J
jacob navia
Hi
Suppose that I want to create an array of read only items
I overload the [ ] operator. How can I detect if I am being called
within a read context
foo = Array[23];
or within a write context
Array[23] = foo;
As far as I remember, this is not possible in C++.
Thanks
Suppose that I want to create an array of read only items
I overload the [ ] operator. How can I detect if I am being called
within a read context
foo = Array[23];
or within a write context
Array[23] = foo;
As far as I remember, this is not possible in C++.
Thanks