C++20引入了std::span,一个看似简单的"视图"类型。但你知道吗?标准库的span有个让人意外的设计:operator[]不做边界检查。std::span<int>s{arr,5};intx=s[10];</