다음을 통해 공유


forward_list::operator=

forward list의 요소를 다른 forward list의 복사본으로 바꿉니다.

forward_list& operator=(const forward_list& _Right);
forward_list& operator=(initializer_list<Type> _IList);
forward_list& operator=(forward_list&& _Right);

매개 변수

Parameter

설명

_Right

The forward list being copied into the forward list.

_IList

A brace-enclosed initializer list, which behaves just like a sequence of elements of type Type.

설명

The first member operator replaces the controlled sequence with a copy of the sequence controlled by _Right.

The second member operator replaces the controlled sequence from an object of class initializer_list<Type>.

The third member operator is the same as the first, but with an rvalue reference.

요구 사항

헤더: <forward_list>

네임스페이스: std

참고 항목

참조

forward_list 클래스