void* getData() const noexcept { return data; }
As it provides a way to modify the MemoryBlock’s data, should it really be marked as const
?
shouldn’t it rather return a const void*
?
void* getData() const noexcept { return data; }
As it provides a way to modify the MemoryBlock’s data, should it really be marked as const
?
shouldn’t it rather return a const void*
?