Espaços nominais
Variantes
Acções

Utility library

Da cppreference.com
< cpp


 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
initializer_list(C++11)
bitset
hash(C++11)
Os operadores relacionais
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 e 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)
Troque, avançar e avançar
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 + + inclui uma variedade de bibliotecas de utilitários que fornecem funcionalidades que vão desde a bit de contagem aplicação de função parcial. Essas bibliotecas podem ser amplamente divididos em dois grupos:
Original:
C++ includes a variety of utility libraries that provide functionality ranging from bit de contagem to aplicação de função parcial. 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.
  • linguagem bibliotecas de apoio, 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.
  • bibliotecas de uso geral.
    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.

Índice

[editar] O suporte de idiomas

Bibliotecas de suporte a idiomas oferecem classes e funções que interagem de perto com recursos de linguagem e expressões idiomáticas apoio linguagem comum.
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] Digite apoio

Tipos básicos (por exemplo, std::size_t std::nullptr_t), RTTI (por exemplo) std::type_info traços, tipo (por exemplo, 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] Gerenciamento de memória dinâmica

Ponteiros inteligentes (por exemplo), std::shared_ptr alocadores (por exemplo std::allocator), C-estilo de gerenciamento de memória (por exemplo 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] De tratamento de erros

Excepções (por exemplo std::exception, std::logic_error), afirmações (por exemplo 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 inicializador

permite o uso de sintaxe da lista de inicializador para inicializar não simples-velho-tipos de dados
Original:
allows the use of sintaxe da lista de inicializador 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.

(modelo de classe) [edit]

[editar] Variadic funções

Suporte para funções que recebem um número arbitrário de parâmetros (por exemplo, através de 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] Utilitários de uso geral

[editar] Utilidades do programa

De terminação (por exemplo, std::abort std::atexit), do ambiente (por exemplo, std::system), sinais (por exemplo 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] Data e hora

Controle de tempo (por exemplo, std::chrono::time_point, std::chrono::duration), data C-estilo e tempo (por exemplo 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 de bits constante de comprimento
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]

[editar] Objetos de função

Aplicação de função parcial (por exemplo, std::bind), (por exemplo, as funções genéricas std::function), functors predefinidos (por exemplo, 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 e tuplas

implementa tupla binário, isto é, um 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.

(modelo de classe) [edit]
(C++11)
implementa recipiente de tamanho fixo, que contém elementos de tipos, possivelmente 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.

(modelo de classe) [edit]
tipo de etiqueta usada para selecionar sobrecarga função correta para a construção por partes
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]
um objeto de piecewise_construct_t tipo usado para remover a ambigüidade funções para construção por partes
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] Troque, avançar e avançar

troca os valores dos dois 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.

(modelo de função) [edit]
(C++11)
envio de uma função
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.

(modelo de função) [edit]
(C++11)
obtém uma referência 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.

(modelo de função) [edit]
obtém uma referência rvalue se o construtor movimento não joga
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.

(modelo de função) [edit]
(C++11)
obtém o tipo de expressão em contexto não avaliada
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.

(modelo de função) [edit]

[editar] Os operadores relacionais

Defined in namespace std::rel_ops
automatically generates comparison operators based on user-defined operator== and operator<
(modelo de função) [edit]

[editar] Apoio de hash

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