vs2005 and out_value policy compile issues

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

vs2005 and out_value policy compile issues

jcfly lv
I am using vs2005 , boost 1.4.3 and luabind 0.9. All the tests in luabind compiles successfully. However, if I change the line 121 of test\test_policies.cpp
from
.def("member_out_val", &policies_test_class::member_out_val, pure_out_value(_3))
to
.def("member_out_val", &policies_test_class::member_out_val, out_value(_3))
,
the compilation will fail with the following errors:

>m:\res\libs\luabind-0.9\luabind\out_value_policy.hpp(105) : error C2352: “luabind::native_converter_base<T>::match”:  illegal call of non-static member function


I have also made some other tests and get the same result.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
luabind-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luabind-user