std::span<T,Extent>::size_bytes_C++中文网
位置:首页 > C++ 参考手册 >容器库 >std::span > std::span<T,Extent>::size_bytes
constexpr size_type size_bytes() const noexcept;
返回以字节计的序列大小。
以字节计的序列大小,即 size() * sizeof(element_type) 。
size