2 ms·
Very cool stuff, excited to see some progress into memory safety for c++ but jeez. As i understand it, it requires me to do some meta programming to build guard
by vsgherzi 6mo ago
Very cool stuff, excited to see some progress into memory safety for c++ but jeez. As i understand it, it requires me to do some meta programming to build guards around my program and ensure memory safety? Is that accurate or am I missing the mark here
- spacechild1 6mo agoNo, it's just that there's now a hardened version of the standard library that does bound checks at runtime. Compile-time reflection is an entirely different feature and has nothing to do with memory safety. The article also mentions contracts that can be used to validate pre- and postconditions of function calls.