Namespace
Varianti

Utility library

Da cppreference.com.
< cpp


 
 
Utilità libreria
Tipo di supporto (basic types, RTTI, type traits)
Gestione della memoria dinamica
La gestione degli errori
Programma di utilità
Funzioni variadic
Data e ora
Funzione oggetti
initializer_list(C++11)
bitset
hash(C++11)
Gli operatori relazionali
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Coppie e tuple
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Swap, in avanti e spostare
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
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.
  • lingua librerie di supporto, e
    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.
  • 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.

Indice

[modifica] 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.

[modifica] 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.

[modifica] 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.

[modifica] 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.

[modifica] Liste di inizializzazione

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) [edit]

[modifica] 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.


[modifica] Generale utilità multifunzione

[modifica] 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.

[modifica] 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.

[modifica] 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) [edit]

[modifica] 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.

[modifica] 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) [edit]
(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) [edit]
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) [edit]
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) [edit]

[modifica] 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) [edit]
(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) [edit]
(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) [edit]
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) [edit]
(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) [edit]

[modifica] Gli operatori relazionali

Defined in namespace std::rel_ops
automatically generates comparison operators based on user-defined operator== and operator<
(funzione di modello) [edit]

[modifica] Supporto Hash

(C++11)
hash function object
(classe template) [edit]