Re: C++ in kernel (was Re: exception in a device driver)

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Tue, 12 Jan 1999 13:03:19 +0100


Hello,

> C++ template expansions can do the exact same things C macros do, with
> strict type-checking, and with smarter behavior, since you can change
> the code emitted depending on the type of the object.
> This can also replace loop unrolling in some cases, with much MORE
> control over what's goin on than with compiler flags.

Do we really want to replace straight-forward use of macros with
anything that requires 150 pages to be defined clearly?

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"REALITY.SYS corrupted - reboot Universe (Y/N)?"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/