vs2005 and out_value policy compile issues

jcfly lv <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.