getRawDataPointer() not marked const

Could you mark Array::getRawDataPointer() and OwnedArray::getRawDataPointer() const?

Not really - it provides a way to change the data, so shouldn't be used on a const Array.

i encountered a similar limitation... probably he wants a const getReadRawDataPointer and non-const getWriteRawDataPointer much like the AudioSampleBuffer, so you can access the raw data in read only const situations. just guessing

yes, I was thinking about it more as a function that should be use for read only situations.  But it's fine.

BTW you could actually just call begin()

cool... completely missed that !!! thanx