forward_list::front

前方リストの最初の要素への参照を返します。

reference front();
const_reference front() const;

戻り値

空でない必要があります。被制御シーケンスの最初の要素への参照。

必要条件

ヘッダー: <forward_list>

名前空間: std

参照

関連項目

forward_list Class