object operator=

Szymon Gatner <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Hi,

This code gives "error C2679: binary '=' : no operator found which
takes a right-hand operand of type 'int' (or there is no acceptable
conversion)"

luabind::object obj;

obj = 5;

Documentation says that object has:

template<class T> object& operator=(T const&);

but object.hpp reveals that it is not the truth. Using luabind 0.91.

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