MySQL 8.0.40
Source Code Documentation
net::async_completion< CompletionToken, Signature > Class Template Reference

#include <executor.h>

Public Types

using completion_handler_type = typename result_type::completion_handler_type
 

Public Member Functions

 async_completion (CompletionToken &t)
 
 async_completion (const async_completion &)=delete
 
async_completionoperator= (const async_completion &)=delete
 

Public Attributes

handler_type completion_handler
 
result_type result
 

Private Types

using result_type = async_result< std::decay_t< CompletionToken >, Signature >
 
using handler_type = std::conditional_t< std::is_same< CompletionToken, completion_handler_type >::value, completion_handler_type &, completion_handler_type >
 

Member Typedef Documentation

◆ completion_handler_type

template<class CompletionToken , class Signature >
using net::async_completion< CompletionToken, Signature >::completion_handler_type = typename result_type::completion_handler_type

◆ handler_type

template<class CompletionToken , class Signature >
using net::async_completion< CompletionToken, Signature >::handler_type = std::conditional_t< std::is_same<CompletionToken, completion_handler_type>::value, completion_handler_type &, completion_handler_type>
private

◆ result_type

template<class CompletionToken , class Signature >
using net::async_completion< CompletionToken, Signature >::result_type = async_result<std::decay_t<CompletionToken>, Signature>
private

Constructor & Destructor Documentation

◆ async_completion() [1/2]

template<class CompletionToken , class Signature >
net::async_completion< CompletionToken, Signature >::async_completion ( CompletionToken &  t)
inlineexplicit

◆ async_completion() [2/2]

template<class CompletionToken , class Signature >
net::async_completion< CompletionToken, Signature >::async_completion ( const async_completion< CompletionToken, Signature > &  )
delete

Member Function Documentation

◆ operator=()

template<class CompletionToken , class Signature >
async_completion & net::async_completion< CompletionToken, Signature >::operator= ( const async_completion< CompletionToken, Signature > &  )
delete

Member Data Documentation

◆ completion_handler

template<class CompletionToken , class Signature >
handler_type net::async_completion< CompletionToken, Signature >::completion_handler

◆ result

template<class CompletionToken , class Signature >
result_type net::async_completion< CompletionToken, Signature >::result

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