Im working on a small class that mimics an Auto pointer (much like the STD version) but it manages arrays. So I have the operator[] overloaded so I could take out values from the array, I was wondering if there was a way to SET values into an array by overloading something similar to [].
AutoPtr<int> foo();
foo[10] = 100;
is there such thing as operator[]=?