object operator=

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

object operator=

Szymon Gatner

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

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.
luabind-user mailing list
[hidden email]