forward_list::push_front
요소를 forward list의 시작 부분에 추가합니다.
void push_front(const Type& _Val);
void push_front(Type&& _Val);
매개 변수
Parameter |
설명 |
---|---|
_Val |
The element added to the beginning of the forward list. |
설명
If an exception is thrown, the container is left unaltered and the exception is rethrown.
요구 사항
헤더: <forward_list>
네임스페이스: std