shared_future::operator = 연산자

전송 된 비동기 상태 연결 지정한 개체에서.

shared_future& operator=(shared_future&& Right) noexcept;
shared_future& operator=(const shared_future& Right);

매개 변수

  • Right
    shared_future 개체

반환 값

*this

설명

첫 번째 연산자 Right 작업을 수행한 후 비동기 연결된 상태를 더 이상 없습니다.

두 번째 방법의 경우 Right 비동기 연결된 상태를 유지 합니다.

요구 사항

헤더: 미래

네임 스페이스: std

참고 항목

참조

shared_future 클래스

<future>