lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jan 12, 2001 at 03:27:56AM -0000, Sebby  wrote:
> This could easily be done with a C++ functor template to define the 
> stub functions. Here is a link to an example of functors
>
> http://www.bestweb.net/~rhickey/

Yor ideas remind me a lot of the Qt library's signal/slot
mechanism. Have you taken a look at it? Your approach, however, has
the advantage that it does not rely on any kind of extensions to the
C++ language, whereas with Qt you need a special preprocessor (moc).

- Christian