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