Re: Binding template member functions
Willi Schinmeyer <[email protected]> Mon, 28 May 2012 10:09:35 +0200
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
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/