Problem: 1615588

Title: (TDynamicArray) Const array

Received: Dec 26 1996 4:33PM


The problem is that of const declarations, or rather, lack thereof. This is no more noticeable than, once again, in the array classes. One would not expect that accessing a data member of the array would change the array, yet if we use myConstArray->At(index), the compiler flags an error for using a non-const method on a const array. I know you guys have lots to do, but someone really should put some time into making methods which don't change things (and shouldn't) const. This is a standard which, as the Taligent guidelines state, is something which private developers should do, but which framework developers (or more generally, people who create methods that others will use) simply must do.