Binding template member functions

Steven Webb <[email protected]> Mon, 28 May 2012 15:46:08 +0800
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <CAJ+TB_wc=Qse1r4VphfuumS6-c+ThVNoYDVo9n-T3gKq0ydN+g@mail.gmail.com>
My C++ terminology may be wrong, but is it possible to bind a template
member function using luabind?

I'm using RakNet, and the following template method definition appears in
the BitStream class (
http://www.jenkinssoftware.com/raknet/manual/Doxygen/classRakNet_1_1BitStream.html#260675ffb5cb824cbed3465b0319383c
)

// Write any integral type to a bitstream.
template<class templateType >
void RakNet::BitStream::Write ( const templateType &  *inTemplateVar*  )
[inline]
Is it possible to bind this directly using luabind? Or do I need to create
some sort of wrapper?

Thanks for making this great software!

Steve.

------------------------------------------------------------------------------
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