AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
aui::impl::future::CancellationWrapper< Inner > Struct Template Reference

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<<.

Public Member Functions

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

#include <AUI/Thread/AFuture.h>


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