Object slicing

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

Object slicing

Josh Klint

I have my classes and binding set up as follows:

class Object

class Object_wrap : public Object, public luabind::wrap_base {};


class Entity : public Object

class Entity_wrap : public Entity, public luabind::wrap_base {};


class Model : public Entity

class Model_wrap : public Entity, public luabind::wrap_base {};






Is that all I have to do to make luabind consistently use the same luabind::object?  It doesn’t appear to have any effect.



Best Regards,


Josh Klint


Leadwerks Software



What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
luabind-user mailing list
[hidden email]