Re: luabind with boost::signals error

Szymon Gatner <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Care to elaborate?

I should not use luabind::object as a slot? Or just not disconnecting this way?

Previous code modified like so:

  signals::connection c = sig.connect(slot);

  c.disconnect();

works fine but I do not like the idea of signaled objects to keep
every connection
to every signal they register to. Any other suggestions?

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.