4 ms·
Different standard library is kind of unavoidable because you need standard library interface understood by borrow checker.
by sanxiyn 8y ago
Different standard library is kind of unavoidable because you need standard library interface understood by borrow checker.
- zrm 8y agoThat's the compatibility-breaking part. Doesn't mean the replacement function or object can't have the same name, purpose, time complexity, etc. You could potentially even continue to support the existing ones but regard them as unsafe and have the compiler warn if they're used.
- pjmlp 8y agoMicrosoft already does that with their SAL annotations. https://docs.microsoft.com/en-us/visualstudio/code-quality/using-sal-annotations-to-reduce-c-cpp-code-defects?view=vs-2015 https://docs.microsoft.com/en-us/visualstudio/code-quality/u... Which they are extending to also support their C++ lifetime checker.