constexpr const_reference front() const;
ビューの最初の文字を指す参照を返します。 empty() == true の場合、動作は未定義です。
empty() == true
(なし)
最初の文字を指す参照。 operator[](0) と同等です。
operator[](0)
一定。