Espacios de nombres
Variantes
Acciones

Utility library

De cppreference.com
< cpp


 
 
Utilidades de la biblioteca
Escriba apoyo (basic types, RTTI, type traits)
Gestión de memoria dinámica
Gestión de errores
Programa de servicios públicos
Funciones variadic
Fecha y hora
Objetos Function
initializer_list(C++11)
bitset
hash(C++11)
Operadores relacionales
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>=
Pares y tuplas
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)
Cambiar, hacia adelante y mover
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 + + incluye una variedad de bibliotecas de utilidad que proporcionan la funcionalidad que van desde bit de conteo a aplicación parcial de la función. Estas bibliotecas se pueden dividir en dos grupos:
Original:
C++ includes a variety of utility libraries that provide functionality ranging from bit de conteo to aplicación parcial de la función. 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.
  • bibliotecas de soporte de idioma, y
    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.
  • de propósito general bibliotecas .
    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.

Contenido

[editar] Soporte de idiomas

Bibliotecas ofrecen clases de apoyo lingüístico y funciones que interactúan estrechamente con las características del lenguaje y modismos idioma común .
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.

[editar] Escriba apoyo

Tipos básicos (por ejemplo, std::size_t std::nullptr_t), RTTI (por ejemplo std::type_info), rasgos de tipo (por ejemplo 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.

[editar] Gestión de memoria dinámica

Punteros inteligentes (por ejemplo std::shared_ptr), asignadores (por ejemplo std::allocator), C-estilo de gestión de memoria (por ejemplo 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.

[editar] Gestión de errores

Las excepciones (por ejemplo std::exception, std::logic_error), las afirmaciones (por ejemplo 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.

[editar] Listas de inicializador

permite el uso de inicializador sintaxis de la lista para inicializar no llanura de edad-tipos de datos
Original:
allows the use of inicializador sintaxis de la lista 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.

(clase de plantilla) [edit]

[editar] Funciones variadic

Soporte para funciones que toman un número arbitrario de parámetros (por ejemplo 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.


[editar] Propósito general de servicios públicos

[editar] Programa de servicios públicos

De terminación (por ejemplo, std::abort std::atexit), medio ambiente (por ejemplo std::system), señales (por ejemplo 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.

[editar] Fecha y hora

El tiempo de seguimiento (por ejemplo std::chrono::time_point, std::chrono::duration), C-estilo de la fecha y la hora (por ejemplo 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.

[editar] BitSet

implementa matriz constante bits de longitud
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.

(clase) [edit]

[editar] Objetos Function

Aplicación de función parcial (por ejemplo, std::bind), las funciones genéricas (por ejemplo std::function), funtores predefinidas (por ejemplo 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.

[editar] Pares y tuplas

implementa tupla binario, es decir, un par de valores
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.

(clase de plantilla) [edit]
(C++11)
implementa un recipiente de tamaño fijo, que contiene elementos de tipos posiblemente diferentes
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.

(clase de plantilla) [edit]
tipo de variable utilizada para seleccionar sobrecarga de función correcto para la construcción por segmentos
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.

(clase) [edit]
un objeto de tipo piecewise_construct_t utiliza para eliminar la ambigüedad de funciones para construcción por segmentos
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]

[editar] Cambiar, hacia adelante y mover

intercambia los valores de dos objetos
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.

(función de plantilla) [edit]
(C++11)
reenvía una función argumento
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.

(función de plantilla) [edit]
(C++11)
obtiene una referencia de valor-
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.

(función de plantilla) [edit]
obtiene una referencia de valor-si el constructor movimiento no tira
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.

(función de plantilla) [edit]
(C++11)
obtiene el tipo de expresión en el contexto no evaluada
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.

(función de plantilla) [edit]

[editar] Operadores relacionales

Defined in namespace std::rel_ops
automatically generates comparison operators based on user-defined operator== and operator<
(función de plantilla) [edit]

[editar] Apoyo Hash

(C++11)
hash function object
(clase de plantilla) [edit]