lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Dec 20, 2010 at 5:51 AM, Tim Mensch <tim-lua-l@bitgems.com> wrote:
>
> On 12/14/2010 9:02 PM, Tim Mensch wrote:
>> On 12/13/2010 1:19 PM, Tim Mensch wrote:
>> The result of the experiment is that, yes, toLua++ does handle boost
>> smart pointers when set up as I described above...
>
> Except that it doesn't handle them that way. My tests were incomplete
> when I posted that; further testing of the generated code revealed that
> it was doing the wrong thing..
>
> My final solution was to add operator->() to tolua++, so that Boost
> shared_ptr<> templates could be handled correctly; if anyone needs that
> I'm glad to share it.
>
> Tim

Hello, could you upload the modified source files so others can download it?
I'd like to learn how it works, other people may want to know about
it, too : )

Many thanks.