libcopp  2.2.0
Public Member Functions | Data Fields
stack_context Struct Reference

#include <stack_context.h>

Collaboration diagram for stack_context:
Collaboration graph

Public Member Functions

 stack_context () LIBCOPP_MACRO_NOEXCEPT
 stack end pointer More...
 
 ~stack_context () LIBCOPP_MACRO_NOEXCEPT
 
 stack_context (const stack_context &other) LIBCOPP_MACRO_NOEXCEPT
 
stack_contextoperator= (const stack_context &other) LIBCOPP_MACRO_NOEXCEPT
 
 stack_context (stack_context &&other) LIBCOPP_MACRO_NOEXCEPT
 
stack_contextoperator= (stack_context &&other) LIBCOPP_MACRO_NOEXCEPT
 
void reset () LIBCOPP_MACRO_NOEXCEPT
 
void copy_from (const stack_context &other) LIBCOPP_MACRO_NOEXCEPT
 

Data Fields

size_t size
 
void * sp
 stack size More...
 

Detailed Description

Definition at line 18 of file stack_context.h.

Constructor & Destructor Documentation

◆ stack_context() [1/3]

LIBCOPP_COPP_NAMESPACE_BEGIN LIBCOPP_COPP_API stack_context::stack_context ( )

stack end pointer

Definition at line 17 of file stack_context.cpp.

◆ ~stack_context()

LIBCOPP_COPP_API stack_context::~stack_context ( )

Definition at line 30 of file stack_context.cpp.

◆ stack_context() [2/3]

LIBCOPP_COPP_API stack_context::stack_context ( const stack_context other)

Definition at line 32 of file stack_context.cpp.

◆ stack_context() [3/3]

LIBCOPP_COPP_API stack_context::stack_context ( stack_context &&  other)

Definition at line 39 of file stack_context.cpp.

Member Function Documentation

◆ copy_from()

LIBCOPP_COPP_API void stack_context::copy_from ( const stack_context other)

Definition at line 61 of file stack_context.cpp.

References gsl::size().

◆ operator=() [1/2]

LIBCOPP_COPP_API stack_context & stack_context::operator= ( const stack_context other)

Definition at line 34 of file stack_context.cpp.

◆ operator=() [2/2]

LIBCOPP_COPP_API stack_context & stack_context::operator= ( stack_context &&  other)

Definition at line 44 of file stack_context.cpp.

◆ reset()

LIBCOPP_COPP_API void stack_context::reset ( )

Definition at line 50 of file stack_context.cpp.

References size, and sp.

Referenced by coroutine_context_container< TALLOC >::create().

Field Documentation

◆ size

size_t stack_context::size

Definition at line 19 of file stack_context.h.

Referenced by reset().

◆ sp

void* stack_context::sp

stack size

Definition at line 20 of file stack_context.h.

Referenced by coroutine_context_container< TALLOC >::create(), and reset().


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