Re: Member pointers in 0.8.1
James Porter <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
Ilia Trendafilov wrote: > Hello guys, > > I tried upgrading to 8.1 today and got hit by this strange problem: > class A has a public member of type B*, when I create an instance of B > (in Lua) and try to assign it to the member (in Lua) I get the > following error: > --- > No matching overload found, candidates: > void <unknown>(A&,B* const&) Your code works for me in Luabind 0.8.1 / Lua 5.1.4 / MSVC8 SP1 with no problems whatsoever. Is your version of Lua up to date, and did you compile Luabind via bjam? - Jim ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com