7 This will make a copy of the parameter. This is the default behavior when
8 passing parameters by-value. Note that this can only be used when passing from
9 C++ to Lua. This policy requires that the parameter type has an accessible copy
17 #include <luabind/copy_policy.hpp>
29 ============= ===============================================================
31 ============= ===============================================================
32 ``index`` The index to copy. ``result`` when used while wrapping C++
33 functions. ``_N`` when passing arguments to Lua.
34 ============= ===============================================================
51 def("create", &create, **copy(result)**)