lkml.org 
[lkml]   [2006]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: C++ pushback
On Wed, 26 Apr 2006 22:09:51 +0200 Xavier Bestel wrote:

> Le mercredi 26 avril 2006 à 12:25 -0700, David Schwartz a écrit :
>
> > C++ has how many additional reserved words? I believe the list is delete,
> > friend, private, protected, public, template, throw, try, and catch.
>
> You forgot namespace, mutable, new, class, const_cast, dynamic_cast,
> static_cast, reinterpret_cast, explicit, true, false, operator, typeid,
> typename and virtual. Maybe I forgot some (interface ?). Probably some
> new ones will appear.

I did a sparse patch to check for all(?) of those once (with Linus's
help). I don't know if it still applies or not...

It's at http://www.xenotime.net/linux/sparse/check_keywords_v7.patch
(You'll also need the other patch there; they got a bit comingled:
http://www.xenotime.net/linux/sparse/check_sizeof_v7.patch)

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

\
 
 \ /
  Last update: 2006-04-26 22:44    [W:0.116 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site