OOLua  2.0.1
C++ and Lua binding
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OOLUA::out_p< T > Struct Template Reference

Output parameter trait. More...

#include <oolua_traits.h>

Detailed Description

template<typename T>
struct OOLUA::out_p< T >

Output parameter trait.

The calling Lua procedure does not pass the parameter to the proxied function, instead one is created using the default constructor and passed to the proxied function. The result after the proxied call with be returned to the calling procedure. If this is a type which has a proxy then it will cause a heap allocation of the type, which Lua will own.

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