Advertisement

Comparing pointers in lua

Started by May 23, 2004 11:25 AM
1 comment, last by bad_camel 20 years, 6 months ago
I''m using luabind to bind a whole bunch of functions/classes/enums/etc to lua. In lua I need to compare two pointers, but I keep getting an error saying "no operator == matched the arguments ( class type, class type )", where class type is obviously the class type of the pointers I''m trying to compare. Am I missing something obvious?
Hullo,

I was having this problem too, but did not know the solution,
Advertisement
Why do you need to compare two pointers? I''m not exactly sure how this problem arises.

[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]

This topic is closed to new replies.

Advertisement