다음을 통해 공유


shared_future::shared_future 생성자

shared_future 개체를 생성합니다.

shared_future() _NOEXCEPT;
shared_future(future<Ty>&& Right) _NOEXCEPT;
shared_future(shared_future&& Right) _NOEXCEPT;
shared_future(const shared_future& Right);

매개 변수

  • Right
    A future or shared_future object.

설명

첫 생성자는 연관 된 비동기 상태 를 가지지 않은 shared_future 개체를 만듭니다.

The second and third constructors construct a shared_future object and transfer the associated asynchronous state from Right. Right no longer has an associated asynchronous state.

The fourth constructor constructs a shared_future object that has the same associated asynchronous state as Right.

요구 사항

헤더: future

네임스페이스: std

참고 항목

참조

shared_future 클래스

<future>