lkml.org 
[lkml]   [1999]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux headers and C++
On Tue, Jul 06, 1999 at 01:45:00PM +0000, Philipp Thomas wrote:

> >And templates remain dangerous bloat-generating territory.
>
> Pardon me, but that's simply FUD. Dangerous, maybe, at least for
> someone that doesn't really understand templates.

Oddly, I'd argue that templates are pretty safe, certainly w.r.t. types.

> Bloat-generating,
> definitely not.

Definitely bloat generating. Each time you use a template with a different
type, the compiler has to effectively make a new class, complete with all
code, for that type. That's a pretty good definition of bloat IMHO.

--
Death is only a state of mind.

Only it doesn't leave you much time to think about anything else.

-
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:52    [W:0.152 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site