On Thursday 15 November 2001 02:11 pm, James Mastros wrote: > I don't see doing it with a macro as too bad, so long as the macro is > decently localized. (If you don't like macros because of their > preprocessor nature, use a function; it should inline just fine.) And it > seems like it would be, given that a scalar is Just Another PMC.
inlined c-functions.. Hmm, gcc has some support for this, but what about other archectures.. For function-inlining to work with GCC, you have to define the function in the header.. That's definately not portable. I guess you're saying that the inlined functions would be the same .c file as it's being used.. Well, I thought these classes might span multiple files, making that rather difficult. -Michael