forward_list::emplace_after
이동은 특정한 위치에 새 요소를 생성합니다.
template<class _Ty>
iterator emplace_after(const_iterator _Where, Type&& _Val);
매개 변수
Parameter |
설명 |
---|---|
_Where |
The position in the target forward list where the new element is constructed. |
_Val |
The constructor argument. |
반환 값
새로 삽입된 요소를 지정하는 반복기입니다.
설명
This member function inserts an element with the constructor arguments _Val just after the element pointed to by _Where in the controlled sequence. Its behavior is otherwise the same as forward_list::insert_after.
요구 사항
헤더: <forward_list>
네임스페이스: std