Re: Bug in object::operator!=() ???

Daniel Wallin <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
On Tue, Feb 23, 2010 at 02:20:57PM +0100, [email protected] wrote:
> Hi *
>  
> I just new to luabind; so maybe it's not a bug but I think there's a bug
> in the inequality operator of luabind::object.
>  
> I think file object.hpp, line 260 should be like this:
> 
> return !(lhs == rhs);

Yes, indeed. I'm amazed this hasn't turned up before. Commited in:

  http://github.com/luabind/luabind/commit/c6aff3a8

Thank you,
-- 
Daniel Wallin
BoostPro Computing
http://www.boostpro.com

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
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.