Re: [luabind] Binding template member functions
Brought to you by:
arvidn,
daniel_wallin
From: Willi S. <wi...@sc...> - 2012-05-28 08:22:40
|
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. |