Skip to main content
GameDev.net gamedev.net
🔒 Locked

Source tag keyword missing

Started by Promit Aug 6, 2005 at 3:41 PM 3 replies 1k views
Original Post
Promit
Promit
The source tag highlighter for C++ doesn't recognize 'typename', just thought I'd point that out. Anybody else who's noticed missing keywords in any language, feel free to post here as well :P
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
mike25025
mike25025
Only two missing for C++:
asm auto bool break casecatch char class const const_castcontinue default delete do doubledynamic_cast else enum explicitextern false float for friendgoto if inline int long mutablenamespace new operator privateprotected public registerreinterpret_cast return short signedsizeof static static_cast structswitch template this throw truetry typedef typeid typename unionunsigned using virtual void volatilewchar_t
Michael Tanczos
Michael Tanczos
Added em in.

asm auto bool break casecatch char class const const_castcontinue default delete do doubledynamic_cast else enum explicitextern false float for friendgoto if inline int long mutablenamespace new operator privateprotected public registerreinterpret_cast return short signedsizeof static static_cast structswitch template this throw truetry typedef typeid typename unionunsigned using virtual void volatilewchar_t


---
Michael Tanczos
thebolt00
thebolt00
While you are at it there are a few more which isn't included in your list, not sure if they work as they should:
export, while (the later i assume works ;)

Also the C++ standard lists the following as "reserved keywords":
and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, xor_eq
(and yes, they are correct although not so much used)

-M

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.