AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
aui::impl::future::CancellationWrapper< Inner > Struct Template Reference

#include <AUI/Thread/AFuture.h>

Public Member Functions

 CancellationWrapper (_unique< Inner > wrapped)
 
const _unique< Inner > & ptr () noexcept
 
Inner * operator-> () const noexcept
 

Detailed Description

template<typename Inner>
struct aui::impl::future::CancellationWrapper< Inner >

This class calls cancel() and wait() methods of AFuture::Inner BEFORE AFuture::Inner destruction in order to keep alive the weak reference created in AThreadPool::operator<<.


The documentation for this struct was generated from the following file: