Espaces de noms
Variantes
Affichages
Actions

Utility library

De cppreference.com
< cpp


C + + comprend une variété de bibliothèques d'utilitaires qui fournissent des fonctionnalités allant de bit de comptage à application de fonction partielle. Ces bibliothèques peuvent être divisées en deux groupes:
Original:
C++ includes a variety of utility libraries that provide functionality ranging from bit de comptage to application de fonction partielle. These libraries can be broadly divided into two groups:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • bibliothèques de soutien linguistique, et
    Original:
    language support libraries, and
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • usage général bibliothèques .
    Original:
    general-purpose libraries.
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

Sommaire

[modifier] Prise en charge linguistique

Bibliothèques de support de langue fournissent des classes et des fonctions qui interagissent étroitement avec les caractéristiques du langage et les expressions idiomatiques langue support commun .
Original:
Language support libraries provide classes and functions that interact closely with language features and support common language idioms.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Tapez soutien

Types de base (par exemple, std::size_t std::nullptr_t), RTTI (par exemple, les caractères de std::type_info), (par exemple std::is_integral, std::rank)
Original:
Basic types (e.g. std::size_t, std::nullptr_t), RTTI (e.g. std::type_info), type traits (e.g. std::is_integral, std::rank)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] La gestion dynamique de la mémoire

Pointeurs intelligents (par exemple std::shared_ptr), les répartiteurs (par exemple std::allocator), C-style de gestion mémoire (par exemple std::malloc)
Original:
Smart pointers (e.g. std::shared_ptr), allocators (e.g. std::allocator), C-style memory management (e.g. std::malloc)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Erreur de manipulation

Exceptions (par exemple std::exception, std::logic_error), les assertions (par exemple assert)
Original:
Exceptions (e.g. std::exception, std::logic_error), assertions (e.g. assert)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Listes initialiseur

permet l'utilisation de syntaxe de la liste d'initialisation pour initialiser non plain-old-types de données
Original:
allows the use of syntaxe de la liste d'initialisation to initialize non plain-old-data types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique) [edit]

[modifier] Fonctions variadic

Prise en charge des fonctions qui prennent un nombre arbitraire de paramètres (par exemple va_start, va_arg, va_end)
Original:
Support for functions that take an arbitrary number of parameters (via e.g. va_start, va_arg, va_end)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


[modifier] Usage général des services publics

[modifier] Programme des services publics

Fin de contrat (par exemple, std::abort std::atexit), l'environnement (par exemple std::system), des signaux (par exemple std::raise)
Original:
Termination (e.g. std::abort, std::atexit), environment (e.g. std::system), signals (e.g. std::raise)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Date et heure

Suivi du temps (par exemple std::chrono::time_point, std::chrono::duration), C-forme de la date et de l'heure (par exemple std::time, std::clock)
Original:
Time tracking (e.g. std::chrono::time_point, std::chrono::duration), C-style date and time (e.g. std::time, std::clock)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Bitset

met en œuvre constante de tableau de bits de longueur
Original:
implements constant length bit array
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe) [edit]

[modifier] Objets Function

Application de fonction partielle (par exemple std::bind), les fonctions génériques (par exemple std::function), foncteurs prédéfinis (par exemple std::plus, std::equal_to)
Original:
Partial function application (e.g. std::bind), generic functions (e.g. std::function), predefined functors (e.g. std::plus, std::equal_to)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Paires et les tuples

implémente tuple binaire, à savoir une paire de valeurs
Original:
implements binary tuple, i.e. a pair of values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique) [edit]
(C++11)
met en œuvre récipient de taille fixe, qui détient des éléments de types éventuellement différents
Original:
implements fixed size container, which holds elements of possibly different types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique) [edit]
type de variable utilisé pour sélectionner la surcharge fonctionnement correct de la construction par morceaux
Original:
tag type used to select correct function overload for piecewise construction
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe) [edit]
un objet de piecewise_construct_t type utilisé pour lever l'ambiguïté des fonctions pour la construction par morceaux
Original:
an object of type piecewise_construct_t used to disambiguate functions for piecewise construction
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante) [edit]

[modifier] Swap, vers l'avant et se déplacer

échange les valeurs de deux objets
Original:
swaps the values of two objects
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique) [edit]
(C++11)
avant un argument de fonction
Original:
forwards a function argument
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique) [edit]
(C++11)
obtient une référence rvalue
Original:
obtains an rvalue reference
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique) [edit]
obtient une référence rvalue si le constructeur mouvement ne jette pas
Original:
obtains an rvalue reference if the move constructor does not throw
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique) [edit]
(C++11)
obtient le type d'expression dans un contexte non évaluée
Original:
obtains the type of expression in unevaluated context
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique) [edit]

[modifier] Les opérateurs relationnels

Defined in namespace std::rel_ops
automatically generates comparison operators based on user-defined operator== and operator<
(fonction générique) [edit]

[modifier] Soutien de hachage

(C++11)
hash function object
(classe générique) [edit]