lua-users home
lua-l archive

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


Wim Couwenberg wrote:
I just think that chain()()()()()() is not real-world,

It is, like it or not, a very common idiom in the boost "assign"
library for C++.  Chains of tens of calls are no exception.  It is
interesting (and surprising) to see what code it generates...

Thanks for the info, I got boost downloaded somewhere and I'll go study it. Guess I haven't seen too many lines of C++.

Anyway, for those who want to look:

http://www.google.com/codesearch?hl=en&lr=&q=%22()()()%22&sbtn=Search

Given the above search string, there were no valid examples for C, a few for C++.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia