32#if !defined(LUTOK_STACK_CLEANER_HPP)
33#define LUTOK_STACK_CLEANER_HPP
37#include <lutok/state.hpp>
Internal implementation for lutok::stack_cleaner.
Definition stack_cleaner.cpp:37
stack_cleaner & operator=(const stack_cleaner &)=delete
Disallow assignment.
void forget(void)
Forgets about any elements currently in the stack.
Definition stack_cleaner.cpp:88
stack_cleaner(const stack_cleaner &)=delete
Disallow copies.
std::unique_ptr< impl > _pimpl
Pointer to the shared internal implementation.
Definition stack_cleaner.hpp:75
~stack_cleaner(void)
Pops any values from the stack not known at construction time.
Definition stack_cleaner.cpp:72
A RAII model for the Lua state.
Definition state.hpp:71