KiCad PCB EDA Suite
Loading...
Searching...
No Matches
COROUTINE< ReturnType, ArgType >::STACK_DELETER Struct Reference

A functor that frees the stack. More...

Public Member Functions

void SetSize (std::size_t aSize)
 
void operator() (void *aMem) noexcept
 

Public Attributes

std::size_t m_size = 0
 

Detailed Description

template<typename ReturnType, typename ArgType>
struct COROUTINE< ReturnType, ArgType >::STACK_DELETER

A functor that frees the stack.

Definition at line 430 of file coroutine.h.

Member Function Documentation

◆ operator()()

template<typename ReturnType, typename ArgType>
void COROUTINE< ReturnType, ArgType >::STACK_DELETER::operator() ( void * aMem)
inlinenoexcept

Definition at line 439 of file coroutine.h.

References m_size.

◆ SetSize()

template<typename ReturnType, typename ArgType>
void COROUTINE< ReturnType, ArgType >::STACK_DELETER::SetSize ( std::size_t aSize)
inline

Definition at line 438 of file coroutine.h.

References m_size.

Member Data Documentation

◆ m_size

template<typename ReturnType, typename ArgType>
std::size_t COROUTINE< ReturnType, ArgType >::STACK_DELETER::m_size = 0

Definition at line 436 of file coroutine.h.

Referenced by operator()(), and SetSize().


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