mp-coro main
Coroutine support tools
Public Member Functions | List of all members
coro_deleter Struct Reference

#include <mp-coro/coro_ptr.h>

Detailed Description

If the given promise object has an associated coroutine, destroy it.

Definition at line 32 of file coro_ptr.h.

+ Collaboration diagram for coro_deleter:

Public Member Functions

template<typename Promise >
void operator() (Promise *promise) const noexcept
 

Member Function Documentation

◆ operator()()

void operator() ( Promise *  promise) const
inlinenoexcept

Definition at line 34 of file coro_ptr.h.


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