Espaces de noms
Variantes

Concepts

De cppreference.com
< cpp
Version datée du 2 juillet 2013 à 11:35 par P12bot (discussion | contributions) (Use {{lc}}. Update links. Various fixes.)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

<metanoindex/>

 
 
C + + concepts
De base
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Bibliothèque échelle
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
NullablePointer (C++11)
Hash (C++11)
Allocator
Récipient
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Éléments de conteneurs
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
CopyInsertable (C++11)
MoveInsertable (C++11)
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Nombres aléatoires
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Simultanéité
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
BasicLockable (C++11)
Lockable (C++11)
TimedLockable (C++11)
Mutex (C++11)
TimedMutex (C++11)
Autre
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Un concept est un terme qui décrit 'ensemble nommé d'exigences' une pour un type. Les concepts sont un moyen plus pratique de spécifier à la fois les propriétés qui sont attendues d'un type, et quelles sont les propriétés d'un type a .
Original:
A concept is a term that describes a named set of requirements for a type. Concepts are a more convenient way to specify both what properties are expected from a type, and what properties a type has.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Il y avait a proposal d'inclure une spécification formelle des concepts en C + 11 afin que le compilateur peut vérifier les exigences de type avant instanciation du modèle et à son tour, pourrait produire des messages d'erreur beaucoup plus sensibles dans le cas d'un type n'a pas respecté le modèle exigences. Cette proposition a été abandonnée par la suite pour diverses raisons. Cependant, il est prévu d'ajouter des concepts non officielles à une future révision du langage C + + .
Original:
There was a proposal to include a formal specification of concepts into C++11 so that the compiler could check the type requirements before template instantiation and in turn could produce much more sensible error messages in case a type did not fulfill the template requirements. This proposal was later dropped for various reasons. However, there are unofficial plans to add concepts to a future revision of the C++ language.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Ici' concepts ont peu en commun avec la proposition susmentionnée. Ils se réfèrent à des exigences informelles nommés, utilisées en C + 03 et C + +11 à définir le comportement et les propriétés attendues pour les différents types .
Original:
Here concepts have little in common with the abovementioned proposal. They refer to informal named requirements, used in C++03 and C++11 to define behavior and expected properties for various types.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

De base
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

spécifie ce type n'a constructeur par défaut
Original:
specifies that type has default constructor
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
spécifie ce type a constructeur déménagement
Original:
specifies that type has move constructor
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
spécifie ce type a constructeur de copie
Original:
specifies that type has copy constructor
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
spécifie ce type n'a opérateur d'affectation mouvement
Original:
specifies that type has move assignment operator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
spécifie ce type a l'opérateur d'affectation de copie
Original:
specifies that type has copy assignment operator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
type a un destructeur qui efface toute la mémoire
Original:
type has a destructor that clears all memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)

Mise en page
Original:
Layout
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Note, that the standard doesn't define named requirements or concepts with names specified in this subcategory.
These are type categories defined by the core language. They are included here as concepts only for consistency.
classe avec copie, cession trivial et destructeur
Original:
class with trivial copy, assignment and destructor
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
(C++11)
classe avec des constructeurs triviales, missions et destructeur
Original:
class with trivial constructors, assignment and destructor
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
non virtuelle classe ne contenant que des membres StandardLayout autres, toutes avec le même contrôle d'accès
Original:
non-virtual class containing only other StandardLayout members, all with the same access control
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
POD (Plain Old Data) structure, compatible avec C struct
Original:
POD (Plain Old Data) structure, compatible with C struct
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)

Bibliothèque échelle
Original:
Library-wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

a une operator== de travail qui est une relation d'équivalence
Original:
has a working operator== that is an equivalence relation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
operator< est une stricte relation avec ordre faible
Original:
operator< is a strict weak ordering relation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
(C++11)
peut être échangé avec un absolu non-membre swap() appel de fonction
Original:
can be swapped with an unqualified non-member function call swap()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
un Iterator qui déréférence à un type Swappable
Original:
an Iterator that dereferences to a Swappable type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
pointeur de type de support de type une valeur nulle
Original:
pointer-like type supporting a null value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
(C++11)

(concept)
type de classe qui contient des informations d'allocation
Original:
class type that contains allocation information
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
un objet fonction qui peut être appelée avec des arguments précis et a une valeur de retour convertible en type spécifique
Original:
a function object that can be called with specific arguments and has return value convertible to specific type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
un Callable qui retourne une valeur convertible en bool pour un argument sans le modifier
Original:
a Callable that returns a value convertible to bool for one argument without modifying it
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(concept)
un Callable qui retourne une valeur convertible en bool pour deux arguments sans les modifier
Original:
a Callable that returns a value convertible to bool for two arguments without modifying them
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click