lua-users home
lua-l archive

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


There seems to be something wrong with your mailer; it's not wrapping
mails, but is not setting format=flowed.  It makes your mails hard to
read.

On Thu, Oct 05, 2006 at 10:11:29AM -0400, Jerome Vuarand wrote:
> C++ methods are compiled into functions with an extra first argument holding the "this" pointer, because ABIs are usually not object oriented and only support functions. It's not that strange to consider that first argument is this and actual first parameter of the method is in fact the second one of the equivalent function. It's especially natural in the context of a binding between an OO language (C++) and a non-OO language (Lua).

It's not natural at all in the context of the C++-side language binding,
where the class instance is already being passed as a real (C++)
parameter.

-- 
Glenn Maynard