std::span
Key guidelines for using std::span safely and effectively:
Quick Reference
Section titled “Quick Reference”- std::span is a non-owning view
- Great for function parameters
- Dangerous as class members
- const semantics differ from containers
Key guidelines for using std::span safely and effectively: