During reading Microsoft's implementation of Cpp Core Guidelines, I run across two questions:
- Why is
gsl::string_span
provided wheregsl::span
already works well? - Why is
gsl::zstring_span
provided wherestd::string
is already guaranteed to be null-terminated since C++11?
Any illustrating situations will be highly appreciated.
basic_zstring_span
? – Sinew