Je cherche la liste des mots clés (et donc réservés) propre au langage c++, mal heuresement apres quelques recherche sur ce site et sur le web je n'ai pas trouvé
quelqu'un pourrait'il m'aider? merci!
 
			
			






 
			
			
			
			 
			
				
 Liste des mots clés c++
 Liste des mots clés c++
				
				
						
						
				Je cherche la liste des mots clés (et donc réservés) propre au langage c++, mal heuresement apres quelques recherche sur ce site et sur le web je n'ai pas trouvé
quelqu'un pourrait'il m'aider? merci!
 
 
				
				
						
						
				Voici une liste (quasi)complète:
http://www.allprog.com/CPlusPlus/index.htm
 
 
				
				
						
						
				Il en manque.
http://c.developpez.com/faq/cpp/?pag...ERALITE_cppdoc
http://www.google.fr/search?hl=fr&q=c%2B%2B+keywords&meta=
 
			
			






 
			
			
			
			 
			
				
 
 
				
				
						
						
				merci!
 
 
				
				
						
						
				Je fais assez peu confiance à Google pour ce genre de choses.
Extrait du standard C++ :
2.11 Keywords [lex.key]
1 The identifiers shown in Table 3 are reserved for use as keywords (that is, they are unconditionally treated as keywords in phase 7):
Table 3—keywords
__________________________________
asm do if return typedef
auto double inline short typeid
bool dynamic_cast int signed typename
break else long sizeof union
case enum mutable static unsigned
catch explicit namespace static_cast using
char export new struct virtual
class extern operator switch void
const false private template volatile
const_cast float protected this wchar_t
continue for public throw while
default friend register true
delete goto reinterpret_cast try
__________________________________
2 Furthermore, the alternative representations shown in Table 4 for certain operators and punctuators (2.5) are reserved and shall not be used otherwise:
Table 4—alternative representations
__________________________________
and and_eq bitand bitor compl not
not_eq or or_eq xor xor_eq _
__________________________________
Ma session aux Microsoft TechDays 2013 : Développer en natif avec C++11.
Celle des Microsoft TechDays 2014 : Bonnes pratiques pour apprivoiser le C++11 avec Visual C++
Et celle des Microsoft TechDays 2015 : Visual C++ 2015 : voyage à la découverte d'un nouveau monde
Je donne des formations au C++ en entreprise, n'hésitez pas à me contacter.
Partager