다음을 통해 공유


forward_list::front

forward list에서 첫 번째 요소에 대한 참조를 반환합니다.

reference front();
const_reference front() const;

반환 값

A reference to the first element of the controlled sequence, which must be non-empty.

요구 사항

헤더: <forward_list>

네임스페이스: std

참고 항목

참조

forward_list 클래스