Re: Copying a container on function call... (Was Re: return_stl_iterator acting as const?)
James Porter <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
John Smith wrote: > I'm really amazed that it is so difficult, and no one seems to know how > to pass a vector of objects to LUA and have LUA modify member variables > of those objects. It would seem to be the type of problem that luabind > was be designed to solve. However every example I can find on the web, > the only use of a container of objects is to read the values not modify > them. So I'm completely at a loss here... Have you tried using a smart pointer wrapper? http://www.rasterbar.com/products/luabind/docs.html#smart-pointers I'd try this myself, but my Luabind install is currently fubar and I need to fix it. - Jim ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H