With various standard library implementing a hardened mode (see microsoft/STL#5090 for an example) would it be interesting for us to warn users to use that instead?
In larger codebases there is always some confusion on what to use. If we could create clarity that would be great. I am just brainstorming, but I wonder if having something like the below would be possible/helpful.
#ifdef _MSVC_STL_HARDENING_SPAN
#error use std::span instead
#endif
With various standard library implementing a hardened mode (see microsoft/STL#5090 for an example) would it be interesting for us to warn users to use that instead?
In larger codebases there is always some confusion on what to use. If we could create clarity that would be great. I am just brainstorming, but I wonder if having something like the below would be possible/helpful.