front

提供:cppreference.com
移動: 案内, 検索


文法:

    #include <list>
    T& front();
    const T& front() const;

front()関数はリストの最初の要素への参照を返します。この関数呼び出しは 定数時間で呼び出しが行われます。

関連トピック: back, pop_front, push_front

個人用ツール
名前空間
変種
操作
案内
ツールボックス
他の言語