Searched defs:CaptureProxy (Results 1 – 1 of 1) sorted by relevance
28 template <typename T> struct CaptureProxy { struct29 CaptureProxy(llvm::Optional<T> &Target) : Target(&Target) { in CaptureProxy() argument36 CaptureProxy(CaptureProxy &&Other) : Target(Other.Target) { in CaptureProxy() function41 operator llvm::unique_function<void(T)>() && { in operator llvm::unique_function<void(T)>()49 ~CaptureProxy() { in ~CaptureProxy()58 llvm::Optional<T> *Target;62 std::promise<std::shared_ptr<T>> Promise;63 std::future<std::shared_ptr<T>> Future;