C++ language
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
[modifier] Les sujets généraux
[modifier] Préprocesseur
[modifier] Commentaires
[modifier] Mots-clés
[modifier] Table ASCII
[modifier] Séquences d'échappement
[modifier] Histoire de C++
[modifier] Contrôle de flux
[modifier] Instructions d'exécution conditionnelle
Les instructions conditionnelles exécutent des chemins de code différents en fonction de la valeur d'une expression donnée.
- if exécute du code conditionnellement
- switch exécute le code en fonction de la valeur d'un argument entier
[modifier] Instructions d'itération
Les instructions d'itération exécutent un chemin de code plusieurs fois.
- for exécute des boucles en spécifiant l'initialisation, la comparaison et l'incrément
- range-for exécute une boucle sur une plage (depuis C++11)
- while exécute une boucle, en vérifiant une condition avant chaque itération
- do-while exécute en boucle, en vérifiant une condition après chaque itération
[modifier] Instructions de saut
Les instructions de saut continuent l'exécution du programme à un autre endroit.
- continue saute la partie restante du corps de la boucle englobante
- break termine la boucle qui l'entoure
- goto continue l'exécution à un autre endroit
- return termine l'exécution de la fonction englobante
[modifier] Fonctions
Un même code peut être réutilisé à différents endroits dans le programme.
- Les déclarations de fonctions déclarent des fonctions
- Les déclarations de fonctions lambda déclarent des fonctions lambda (depuis C++11)
- Les modèles de fonction déclarent des modèles de fonction
- Le spécificateur inline propose au compilateur d'insérer le corps d'une fonction directement dans le code appelant
- Les spécifications d'exception déclarent qu'une fonction ne lance que les exceptions spécifiées (obsolète)
- Le spécificateur noexcept déclare si une fonction lance ou non des exceptions (depuis C++11)
[modifier] Exceptions
You can help to correct and verify the translation. Click here for instructions.
- transfert à des gestionnaires d'erreursOriginal:jeter expressions</div> signal errors and transfer control to error handlersOriginal:throw expressionsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - intercepter les exceptions provenant des blocs de code spécifiquesOriginal:blocs try-catch</div> catch exceptions originating from specific blocks of codeOriginal:try-catch blocksThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - et noexcept opérateurdéfinir et de tester si les expressions lever des exceptions (depuis C++11)Original:noexcept operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.Original:noexcept spécificateurandOriginal:noexcept specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.noexcept opérateur</div> define and test if expressions throw exceptions (depuis C++11)Original:noexcept operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Espaces de noms
You can help to correct and verify the translation. Click here for instructions.
- déclarer les espaces de nomsOriginal:déclarations d'espace</div> declare namespacesOriginal:namespace declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclarer des noms alternatifs pour les espaces de noms existantsOriginal:alias d'espace de noms</div> declare alternate names for existing namespacesOriginal:namespace aliasesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Types
- définir le caractère de base, les types entier et à virgule flottanteOriginal:types fondamentaux</div> define basic character, integer and floating point typesOriginal:fundamental typesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définir les types de titulaires d'un emplacement de mémoireOriginal:types de pointeurs</div> define types holding a memory locationOriginal:pointer typesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définir des types qui possèdent plusieurs éléments de données (essentiellement la même que la classe')Original:types de composés</div> define types that hold several data members (essentially the same as class)Original:compound typesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définir des types qui sont en mesure de tenir une seule des valeurs spécifiéesOriginal:types d'énumération</div> define types that are able to hold only one of the specified valuesOriginal:enumeration typesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définir des types qui peuvent contenir des données dans plusieurs représentationsOriginal:types d'union</div> define types that can hold data in several representationsOriginal:union typesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définir des signatures d'appel de fonction, c'est à dire les types d'arguments et le type de retourOriginal:types de fonctions</div> define function call signatures, that is the types of arguments and the return typeOriginal:function typesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définit un type équivalent au type d'une expression (depuis C++11)Original:decltype spécificateur</div> defines a type equivalent to the type of an expression (depuis C++11)Original:decltype specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Les prescripteurs
- préciser constness et la volatilité des typesOriginal:prescripteurs cv</div> specify constness and volatility of typesOriginal:cv specifiersThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - spécifier la durée de stockage des typesOriginal:stockage prescripteurs durée</div> specify storage duration of typesOriginal:storage duration specifiersThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - indique que la valeur d'une variable ou la fonction peut être calculée à (depuis C++11) moment de la compilationOriginal:constexpr spécificateur</div> specifies that the value of a variable or function can be computed at compile time (depuis C++11)Original:constexpr specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - spécifie que le type réel est défini à partir de l'expression, affecté à la variable de (depuis C++11)Original:auto spécificateur</div> specifies that the actual type shall be defined from the expression, assigned to the variable (depuis C++11)Original:auto specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - spécifie que le stockage de la variable doit être aligné par (depuis C++11) quantité spécifiqueOriginal:alignas spécificateur</div> specifies that the storage for the variable should be aligned by specific amount (depuis C++11)Original:alignas specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Initialisation
You can help to correct and verify the translation. Click here for instructions.
- se produit en l'absence d'initialisation est prévuOriginal:initialisation par défaut</div> occurs when no initializer is providedOriginal:default initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - se produit lorsque l'initialisation est un ensemble vide de parenthèsesOriginal:valeur d'initialisation</div> occurs when the initializer is an empty set of parenthesesOriginal:value initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - initialise tous les bits de l'objet à zéroOriginal:zéro d'initialisation</div> initializes every bit of the object to zeroOriginal:zero initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - initialise un objet d'un autre objetOriginal:copier initialisation</div> initializes an object from another objectOriginal:copy initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - fournit la valeur initiale ou la liste des arguments du constructeur, entre parenthèsesOriginal:initialisation directe</div> provides the initial value or the list of constructor arguments, in parenthesesOriginal:direct initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - fournit des valeurs initiales pour chaque membre d'un tableau ou une structure sans un constructeurOriginal:initialisation d'agrégats</div> provides initial values to every member of an array or a struct without a constructorOriginal:aggregate initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - fournit une liste arbitraire de temps de valeurs, qui peut initialiser un std::vector ou std::map (depuis C++11)Original:liste d'initialisation</div> provides an arbitrary long list of values, which can initialize a std::vector or std::map (depuis C++11)Original:list initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - initialise tous les objets statiques constants avant toute autre choseOriginal:initialisation constante</div> initializes all constant static objects before anything elseOriginal:constant initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - lie les références aux objets et prolonger la durée de vie des contemporainsOriginal:initialisation de référence</div> binds references to objects and extend the lifetimes of the temporariesOriginal:reference initializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Littéraux
You can help to correct and verify the translation. Click here for instructions.
- sont décimal, octal ou hexadécimal de type entier .Original:littéraux entiers</div> are decimal, octal, or hexadecimal numbers of integer type.Original:integer literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sont des caractères individuels de type char, char16_t, char32_t ou wchar_tOriginal:caractères littéraux</div> are individual characters of type char, char16_t, char32_t, or wchar_tOriginal:character literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sont des valeurs de type float, double ou long doubleOriginal:littéraux à virgule flottante</div> are values of type float, double, or long doubleOriginal:floating-point literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sont des séquences de caractères, ce qui peut être étroite, multi-octets, ou largeOriginal:les chaînes littérales</div> are sequences of characters, which may be narrow, multibyte, or wideOriginal:string literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sont des valeurs de bool type, c'est-true et falseOriginal:Les littéraux booléens</div> are values of type bool, that is true and falseOriginal:boolean literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - nullptr est le pointeur littéral qui spécifie un pointeur NULL (depuis C++11) valeurOriginal:nullptr is the pointer literal which specifies a null pointer value (depuis C++11)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sont des valeurs constantes de l'utilisateur spécifié (depuis C++11) typeOriginal:définie par l'utilisateur littéraux</div> are constant values of user-specified type (depuis C++11)Original:user-defined literalsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Expressions
You can help to correct and verify the translation. Click here for instructions.
- (lvalue, rvalue, glvalue, prvalue, xValue) classer les expressions par leurs valeursOriginal:catégories de valeurs</div> (lvalue, rvalue, glvalue, prvalue, xvalue) classify expressions by their valuesOriginal:value categoriesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - d'arguments et de sous-expressions de spécifier l'ordre dans lequel les résultats intermédiaires sont obtenusOriginal:ordre d'évaluation</div> of arguments and subexpressions specify the order in which intermediate results are obtainedOriginal:order of evaluationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - operators permettre l'utilisation de la syntaxe trouve couramment dans les mathématiquesOriginal:operators allow the use of syntax commonly found in mathematicsThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
| Common operators | ||||||
|---|---|---|---|---|---|---|
| affectation | incrémentation décrémentation | arithmétique | logique | comparaison | accès aux membre | autre |
|
a = b |
++a |
+a |
!a |
a == b |
a[b] |
a(...) |
| Opérateurs spéciaux | ||||||
|
static_cast convertit un type à un autre
type compatible Original: static_cast converts one type to another compatible type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. dynamic_cast convertit classe de base virtuelle à class
dérivée Original: dynamic_cast converts virtual base class to derived class The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. const_cast convertit un type à l'autre compatible avec cv qualifiers
Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. reinterpret_cast convertit type type
incompatibles Original: reinterpret_cast converts type to incompatible type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. new alloue memory
Original: new allocates memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. delete libère memory
Original: delete deallocates memory The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. sizeof interroge la taille d'un type
Original: sizeof queries the size of a type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. sizeof... interroge la taille d'un Paquet de paramètre (depuis C++11)
Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. typeid interroge les informations de type d'une type
Original: typeid queries the type information of a type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. noexcept vérifie si une expression peut jeter une exception (depuis C++11)
Original: The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. alignof requêtes exigences d'alignement d'un (depuis C++11) type
Original: alignof queries alignment requirements of a type (depuis C++11) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||
- définit l'ordre dans lequel les opérateurs sont liés à leurs argumentsOriginal:la priorité des opérateurs</div> defines the order in which operators are bound to their argumentsOriginal:operator precedenceThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - sont des variantes orthographiques pour certains opérateurs Original:représentations alternatives</div> are alternative spellings for some operatorsOriginal:alternative representationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Utilitaires
You can help to correct and verify the translation. Click here for instructions.
- créer des synonymes pour des typesOriginal:déclarations typedef</div> create synonyms for typesOriginal:typedef declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - créer des synonymes pour des typesOriginal:taper déclarations d'alias</div> create synonyms for typesOriginal:type alias declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définir des informations supplémentaires à propos de (depuis C++11) variablesOriginal:attributs</div> define additional information about variables (depuis C++11)Original:attributesThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- conversions implicites d'un type à un autreOriginal:conversions standard</div> implicit conversions from one type to anotherOriginal:standard conversionsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - <div class="t-tr-text">
const_castconversion</div>Original:const_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions. - <div class="t-tr-text">
static_castconversion</div>Original:static_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions. - <div class="t-tr-text">
dynamic_castconversion</div>Original:dynamic_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions. - <div class="t-tr-text">
reinterpret_castconversion</div>Original:reinterpret_castconversionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions. - conversion en utilisant la notation coulé style C et notation fonctionnelleOriginal:conversion explicite</div> conversion using C-style cast notation and functional notationOriginal:explicit castThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
- alloue de la mémoire dynamiqueOriginal:nouvelle expression</div> allocates memory dynamicallyOriginal:new expressionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - libère la mémoire dynamiquementOriginal:supprimer l'expression</div> deallocates memory dynamicallyOriginal:delete expressionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Classes
You can help to correct and verify the translation. Click here for instructions.
- déclarer des classesOriginal:déclarations de classe</div> declare classesOriginal:class declarationsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - liens vers l'instance actuelle d'une classe dans les méthodes de membresOriginal:
thispointeur</div> links to the current instance of a class in member methodsOriginal:thispointerThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déterminer la visibilité des membres du groupeOriginal:accéder à la prescription</div> determine visibility of class membersOriginal:access specifiersThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - accorde des privilèges d'accès à des parties privées / protégées en cas de non-membres des classes ou des fonctionsOriginal:spécificateur ami</div> grants access privileges to private/protected parts for non-member classes or functionsOriginal:friend specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - initialiser les données membres de la classeOriginal:listes initialiseur</div> initialize class member dataOriginal:initializer listsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Propriétés de la fonction spécifiques à chaque classe
- déclare qu'une fonction est virtuelleOriginal:spécificateur fonction virtuelle</div> declares that a function is virtualOriginal:virtual function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclare une fonction virtuelle remplace une autre function. (depuis C++11) virtuelOriginal:remplacer spécificateur</div> declares that a virtual function overrides another virtual function. (depuis C++11)Original:override specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclare une fonction virtuelle ne peut pas être substituée dans une class. (depuis C++11) héritageOriginal:spécificateur finale</div> declares that a virtual function can not be overridden in a inheriting class. (depuis C++11)Original:final specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclare un constructeur ou un opérateur de conversion ne peut pas être utilisé dans les conversions implicites (depuis C++11)Original:spécificateur fonction explicite</div> declares that a constructor or conversion operator can not be used in implicit conversions (depuis C++11)Original:explicit function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclare qu'une fonction n'utilise pas les données de classeOriginal:spécificateur static function</div> declares that a function does not use class dataOriginal:static function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclare une fonction membre ne peut être utilisé sur des objets cv qualifiésOriginal:cv fonction de spécificateur</div> declares that a member function can only be used on cv qualified objectsOriginal:cv function specifierThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Fonctions membres spéciales
- initialise l'objet avec contenu par défautOriginal:constructeur par défaut</div> initializes the object with default contentsOriginal:default constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - initialise l'objet avec le contenu d'un autre objetOriginal:copier constructeur</div> initializes the object with the contents of another objectOriginal:copy constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - initialise l'objet avec le contenu de l'autre, objet temporaire, ce qui minimise les frais généraux (depuis C++11) copieOriginal:déplacer constructeur</div> initializes the object with the contents of other, temporary object, minimizing copying overhead (depuis C++11)Original:move constructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - remplace le contenu de l'objet avec le contenu d'un autre objetOriginal:opérateur d'affectation</div> replaces the contents of the object with the contents of another objectOriginal:assignment operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - remplace le contenu de l'objet avec le contenu de l'autre, l'objet temporaire, ce qui minimise les frais généraux (depuis C++11) copieOriginal:déplacer opérateur d'affectation</div> replaces the contents of the object with the contents of other, temporary object, minimizing copying overhead (depuis C++11)Original:move assignment operatorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - revendiqué ressourcesOriginal:destructeur</div> releases claimed resourcesOriginal:destructorThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Modèles
You can help to correct and verify the translation. Click here for instructions.
- déclare un modèle de classeOriginal:déclaration modèle de classe</div> declares a class templateOriginal:class template declarationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - déclare un modèle de fonctionOriginal:déclaration modèle de fonction</div> declares a function templateOriginal:function template declarationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - définit un modèle existant pour un type particulierOriginal:spécialisation de template</div> defines an existing template for a specific typeOriginal:template specializationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - permet l'utilisation de listes de types de modèles (depuis C++11)Original:paquets de paramètres</div> allows the use of lists of types in templates (depuis C++11)Original:parameter packsThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Optimisations
- permet une transformation du code qui ne modifie pas la sortieOriginal:La règle que, si</div> allows any code transformation that doesn't change the outputOriginal:The as-if ruleThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - , y compris RVO et NRVO, fait passer par la valeur de l'approche privilégiée dans de nombreuses situations .Original:Copier élision</div>, including RVO and NRVO, makes pass-by-value the preferred approach in many situations.Original:Copy elisionThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - rend l'héritage multiple des interfaces ou des classes politiques au-dessus-libres et est nécessaire pour la norme-layout types .Original:Optimisation de la base vide</div> makes multiple inheritance from interfaces or policy classes overhead-free and is required for standard-layout types.Original:Empty base optimizationThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Divers
- permet l'utilisation de code assembleur à côté de code C + +Original:Assembleur inline</div> allows the use of assembly code alongside C++ codeOriginal:Inline assemblyThe text has been machine-translated via [http://translate.google.com Google Translate].
You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.