mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
T *const does not prevent logically non-const accesses to the underlying data, it merely indicates that the pointer value itself is const. This modifier can be cast off by a copy, so it's not generally what you want here. Switch to const T * instead.
79 KiB
79 KiB