Re: Binding template member functions

Steven Webb <[email protected]> Wed, 30 May 2012 07:48:23 +0800
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <CAJ+TB_x9quCkV3c=Y_NJUhQGtK-LzvOctdqCD2OQ98HOH8wL8w@mail.gmail.com>
Cheers. That syntax is compiling so I think it's working (I haven't had a
chance to test it properly yet).

Steve.

On 28 May 2012 16:09, Willi Schinmeyer <[email protected]> wrote:

> Am 28.05.2012 09:46, schrieb Steven Webb:
> > My C++ terminology may be wrong, but is it possible to bind a template
> > member function using luabind?
> Yes, I think so. At least I've previously successfully bound an ordinary
> template function - instead of &function it's simply &function<type>, so
> I guess in your case it'd be e.g. &Class::MemberFunction<int>
>
> You just can't keep the template. You can however have multiple versions
> of the same name and function overloading should pick the correct one.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> luabind-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/luabind-user
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

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