4 ms·
Since function parameters are immutable in Zig, is this a difference that you need to care about?
by danvk 2y ago
Since function parameters are immutable in Zig, is this a difference that you need to care about?
- renox 2y agoThe parameter is immutable so if you pass a pointer, the pointer is immutable, but the pointed value isn't.. If the pointer alias another 'immutable' parameter, this parameter may not be immutable anymore..