[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Operator overloading in Lua/ToLua 4?
- From: pixellent@...
- Date: Fri, 4 Apr 2003 11:34:00 -0500
Does ToLua support operator overloading in any way? I'm trying to do the
following but I'm getting an error saying that there is no support for operator=.
hbVector3D& operator= (const hbVertex3D& v);
const hbVector3D& operator+= (const hbVector3D& v);
If it isn't currently supported, is it possible to change the code for ToLua to
support it? Has anyone done this? Or is it just not possible given the dsign of
ToLua/Lua? This seems like such an important, usable feature that I'm surprised
it's not supported.
Thanks again
Mike