Utility library
De cppreference.com
< cpp
[] |
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. |
C++ comprend des bibliothques d'utilitaires qui fournissent des fonctionnalits allant des oprations sur les bits l'application partielle de fonction. Ces bibliothques peuvent tre divises 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.
You can help to correct and verify the translation. Click here for instructions.
- bibliothques de support du langage etOriginal:language support libraries, andThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - bibliothques d'usage gnral.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.
Support du langage
Les bibliothques de support du langage fournissent des classes et des fonctions qui interagissent troitement avec les caractristiques du langage et supportent les idiomes communs.
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.
You can help to correct and verify the translation. Click here for instructions.
Support des types
Types de base (ex. std::size_t std::nullptr_t), RTTI (ex. std::type_info), classes de trait (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.
You can help to correct and verify the translation. Click here for instructions.
Gestion dynamique de la mmoire
Pointeurs intelligents (smart pointers, ex. std::shared_ptr), allocateurs (ex. std::allocator), gestion de la mmoire en syntaxe C (ex. 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.
You can help to correct and verify the translation. Click here for instructions.
Gestion des erreurs
Exceptions (ex. std::exception, std::logic_error), assertions (ex. assert)
Original:
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.
Listes d'initialisation
(C++11) |
permet l'utilisation de syntaxe de la liste d'initialisation pour initialiser non plain-old-types de donnes 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 gnrique) |
Fonctions variadiques
Support des fonctions variadiques, c.a.d. prennant un nombre variable de paramtres (ex. 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.
You can help to correct and verify the translation. Click here for instructions.
Utilitaires d'usage gnral
Gestion du programme
Fin de programme (ex. std::abort std::atexit), gestion de l'environnement (ex. std::system), des signaux (ex. 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.
You can help to correct and verify the translation. Click here for instructions.
Date et heure
Gestion du temps (ex. std::chrono::time_point, std::chrono::duration), date et heure en syntaxe C (ex. 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.
You can help to correct and verify the translation. Click here for instructions.
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) | |
Fonctions objet
Application de fonction partielle (ex. std::bind), fonctions gnriques (ex. std::function), foncteurs prdfinis (ex. 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.
You can help to correct and verify the translation. Click here for instructions.
Paires et tuples
implmente 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 gnrique) | |
(C++11) |
met en uvre rcipient de taille fixe, qui dtient des lments de types ventuellement diffrents 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 gnrique) |
(C++11) |
type de variable utilis pour slectionner 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) |
(C++11) |
un objet de piecewise_construct_t type utilis pour lever l'ambigut 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) |
Permutation, redirection et dplacement (swap, forward and move)
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 gnrique) | |
(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 gnrique) |
(C++11) |
obtient une rfrence 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 gnrique) |
(C++11) |
obtient une rfrence 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 gnrique) |
(C++11) |
obtient le type d'expression dans un contexte non value 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 gnrique) |
Oprateurs de comparaison
Defined in namespace
std::rel_ops | |
automatically generates comparison operators based on user-defined operator== and operator< (fonction gnrique) | |
Algorithmes de hachage
(C++11) |
hash function object (classe gnrique) |