名前空間
変種
操作

std::span<T,Extent>::size_bytes

提供: cppreference.com
< cpp‎ | container‎ | span
constexpr size_type size_bytes()constnoexcept;

シーケンスのサイズをバイトで返します。

[編集] 戻り値

シーケンスのサイズのバイト数、すなわち size()* sizeof(element_type)

[編集] 関連項目

シーケンスの要素数を返します
(パブリックメンバ関数)[edit]
close