std::basic_string_view<CharT,Traits>::front - cppreference.com
提供: cppreference.com
<tbody> </tbody>
|
|
(C++17以上) | |
ビューの最初の文字を指す参照を返します。 empty() == true の場合、動作は未定義です。
引数
(なし)
戻り値
最初の文字を指す参照。 operator[](0) と同等です。
計算量
一定。
提供: cppreference.com
<tbody> </tbody>
|
|
(C++17以上) | |
ビューの最初の文字を指す参照を返します。 empty() == true の場合、動作は未定義です。
(なし)
最初の文字を指す参照。 operator[](0) と同等です。
一定。