lkml.org 
[lkml]   [1999]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: C++ in kernel (was Re: exception in a device driver)
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:1.784 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site