Messages in this thread | | | Date | Fri, 19 Sep 2008 15:28:46 +0200 | From | Stefan Richter <> | Subject | Re: kernel.h: add ARRAY_AND_SIZE() macro to complement ARRAY_SIZE(). |
| |
Eric Miao wrote: > On Fri, Sep 19, 2008 at 2:54 PM, Cyrill Gorcunov <gorcunov@gmail.com> wrote: >> well, it seems it's not that good to use ARRAY_AND_SIZE at all. >> Yes it's short but quite frankly - hiding number of args is not >> that good. ... > I have to admit > that a macro expanding to something like an argument list instead > of a single variable or something is not a good idea. But, we are > using C, ...
Exactly, we generally program in C --- not in cpp. -- Stefan Richter -=====-==--- =--= =--== http://arcgraph.de/sr/
| |