R
Richard Lewis Haggard
What is the syntax to over ride the array index operator '[]'?
I want to derive a class from CollectionBase and have it encapsulate an
array of another class I'm working with. Among other things, it needs to
over ride the [] operator but I don't seem to be able to get the syntax
quite right. Can someone tell me what the syntax should be in order to over
ride the operator[]?
I want to derive a class from CollectionBase and have it encapsulate an
array of another class I'm working with. Among other things, it needs to
over ride the [] operator but I don't seem to be able to get the syntax
quite right. Can someone tell me what the syntax should be in order to over
ride the operator[]?