rotor
Event loop friendly C++ actor micro-framework
 
Loading...
Searching...
No Matches
rotor::response_helper_t< intrusive_ptr_t< Response > > Struct Template Reference

specific helper, which helps to construct intrusive pointer to user-defined response payload More...

#include <request.hpp>

Public Types

using res_ptr_t = intrusive_ptr_t< Response >
 type for intrusive pointer user defined response payload

 
using response_t = Response
 

Static Public Member Functions

template<typename... Args>
static res_ptr_t construct (Args &&...args)
 constructs intrusive pointer to user defined response payload
 
template<typename T , typename std::enable_if_t< std::is_same_v< T, res_ptr_t > > >
static res_ptr_t construct (T &&ptr)
 constructs user defined response payload and wraps it into intrusive pointer
 

Detailed Description

template<typename Response>
struct rotor::response_helper_t< intrusive_ptr_t< Response > >

specific helper, which helps to construct intrusive pointer to user-defined response payload

Member Typedef Documentation

◆ response_t

template<typename Response >
using rotor::response_helper_t< intrusive_ptr_t< Response > >::response_t = Response

original user-supplied response type


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