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 + + 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.
You can help to correct and verify the translation. Click here for instructions.
- bibliotecas de soporte de idioma, yOriginal: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. - 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.
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.
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.
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:
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.
[editar] Listas de inicializador
(C++11) |
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) |
[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.
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.
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.
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) |
[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.
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) | |
(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) |
(C++11) |
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) |
(C++11) |
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) |
[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) | |
(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) |
(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) |
(C++11) |
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) |
(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) |
[editar] Operadores relacionales
Defined in namespace
std::rel_ops | |
automatically generates comparison operators based on user-defined operator== and operator< (función de plantilla) |
[editar] Apoyo Hash
(C++11) |
hash function object (clase de plantilla) |