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

Converts a raw pointer return type to the supported shared pointer type. More...

#include <oolua_traits.h>

Detailed Description

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

Converts a raw pointer return type to the supported shared pointer type.

A shared_return does not define that a function returns a shared_ptr instead it informs the proxy to create a new shared object for the returned pointer. This trait therefore requires that there is not a reference to the pointer already known to the library.


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