Utility library
Da cppreference.com.
< cpp
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
C + + include una serie di librerie di utilità che forniscono funzionalità che vanno da bit di conteggio a funzione di applicazione parziale. Queste librerie possono essere suddivisi in due gruppi:
Original:
C++ includes a variety of utility libraries that provide functionality ranging from bit di conteggio to funzione di applicazione parziale. 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.
- lingua librerie di supporto, eOriginal: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. - general-purpose librerie.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.
Supporto linguistico
Librerie di supporto di lingua fornire classi e funzioni che interagiscono strettamente con le caratteristiche del linguaggio e modi di dire la lingua di supporto comune.
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.
Tipo di supporto
Tipi di base (ad esempio, std::size_t std::nullptr_t), RTTI (ad esempio std::type_info), caratteri morfologici (ad esempio 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.
Gestione della memoria dinamica
Puntatori intelligenti (ad esempio std::shared_ptr), ripartitori (ad esempio std::allocator), C-stile di gestione della memoria (ad esempio 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.
La gestione degli errori
Le eccezioni (ad esempio std::exception, std::logic_error), affermazioni (ad esempio 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.
You can help to correct and verify the translation. Click here for instructions.
Liste di inizializzazione
(C++11) |
consente l'uso di inizializzatore lista sintassi per inizializzare non plain-old-tipi di dati Original: allows the use of inizializzatore lista sintassi 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 template) |
Funzioni variadic
Supporto per le funzioni che accettano un numero arbitrario di parametri (ad esempio tramite 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.
Generale utilità multifunzione
Programma di utilità
Terminazione (ad esempio, std::abort std::atexit), l'ambiente (ad es std::system), segnali (ad es 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.
Data e ora
Time Tracking (ad esempio std::chrono::time_point, std::chrono::duration), C-stile di data e ora (ad esempio 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
implementa costante matrice di bit di lunghezza 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) | |
Funzione oggetti
Applicazione di una funzione parziale (ad es std::bind), funzioni generiche (ad esempio std::function), funtori predefiniti (ad esempio 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.
Coppie e tuple
implementa tupla binario, cioè una coppia di valori 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 template) | |
(C++11) |
implementa contenitore fisso dimensioni, che contiene elementi di tipi possibilmente diversi 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 template) |
(C++11) |
tipo di tag utilizzato per selezionare la funzione di sovraccarico corretta per la costruzione a tratti 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 oggetto di piecewise_construct_t tipo utilizzato per disambiguare le funzioni per la costruzione a tratti 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. (costante) |
Swap, in avanti e spostare
scambia i valori di due oggetti 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. (funzione di modello) | |
(C++11) |
avanti una funzione argomento 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. (funzione di modello) |
(C++11) |
ottiene un riferimento 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. (funzione di modello) |
(C++11) |
ottiene un riferimento rvalue se il costruttore mossa non genera 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. (funzione di modello) |
(C++11) |
ottiene il tipo di espressione in un contesto non valutata 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. (funzione di modello) |
Gli operatori relazionali
Defined in namespace
std::rel_ops | |
automatically generates comparison operators based on user-defined operator== and operator< (funzione di modello) | |
Supporto Hash
(C++11) |
hash function object (classe template) |