◐ Shell
clean mode source ↗

Concepts - cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Un concepto es un término que describe 'conjunto con nombre de requerimientos' a para un tipo. Los conceptos son una manera más conveniente para especificar qué propiedades se esperan de un tipo, y qué propiedades tiene un tipo de .

Original:

A concept is a term that describes a named set of requirements for a type. Concepts are a more convenient way to specify both what properties are expected from a type, and what properties a type has.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Había a proposal para incluir una especificación formal de los conceptos en C + 11 para que el compilador pueda comprobar los requisitos de tipo antes y de instancias de plantilla a su vez podría producir mensajes de error mucho más sensibles en caso de que un tipo que no cumplía con la plantilla requisitos. Esta propuesta se redujo más tarde por diversas razones. Sin embargo, hay planes oficiales para agregar conceptos a una futura revisión del lenguaje C + + .

Original:

There was a proposal to include a formal specification of concepts into C++11 so that the compiler could check the type requirements before template instantiation and in turn could produce much more sensible error messages in case a type did not fulfill the template requirements. This proposal was later dropped for various reasons. However, there are unofficial plans to add concepts to a future revision of the C++ language.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Aquí' conceptos tienen poco en común con la propuesta mencionada. Se refieren a los requisitos mencionados informales, que se utiliza en C + + y C 03 11 para definir el comportamiento y las propiedades esperadas para los distintos tipos .

Original:

Here concepts have little in common with the abovementioned proposal. They refer to informal named requirements, used in C++03 and C++11 to define behavior and expected properties for various types.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Básica

Original:

Basic

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

especifica que tipo tiene constructor por defecto

Original:

specifies that type has default constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

especifica que tipo tiene constructor movimiento

Original:

specifies that type has move constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

especifica que tipo tiene constructor de copia

Original:

specifies that type has copy constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

especifica que tipo tiene movimiento operador de asignación

Original:

specifies that type has move assignment operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

especifica que tipo tiene operador de asignación de copia

Original:

specifies that type has copy assignment operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

tipo tiene un destructor que borra toda la memoria

Original:

type has a destructor that clears all memory

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Diseño

Original:

Layout

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Note, that the standard doesn't define named requirements or concepts with names specified in this subcategory.
These are type categories defined by the core language. They are included here as concepts only for consistency.

clase con copia trivial tarea y destructor

Original:

class with trivial copy, assignment and destructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

clase con constructores triviales, misiones y destructor

Original:

class with trivial constructors, assignment and destructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

no virtual clase que contiene sólo los miembros StandardLayout otros, todos con el mismo control de acceso

Original:

non-virtual class containing only other StandardLayout members, all with the same access control

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

POD (Plain datos antiguos) estructura, compatible con C struct

Original:

POD (Plain Old Data) structure, compatible with C struct

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Biblioteca de ancho

Original:

Library-wide

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

tiene un operator== de trabajo que es una relación de equivalencia

Original:

has a working operator== that is an equivalence relation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

operator< es una estricta relación débil pedido

Original:

operator< is a strict weak ordering relation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

(C++11)

se pueden intercambiar con un rotundo no miembro swap() llamada de función

Original:

can be swapped with an unqualified non-member function call swap()

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un Iterator que elimina referencias a un tipo Swappable

Original:

an Iterator that dereferences to a Swappable type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

pointer-como el tipo de apoyo a un valor nulo

Original:

pointer-like type supporting a null value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

(C++11)


(concepto)

clase de tipos que contiene la información de asignación

Original:

class type that contains allocation information

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un objeto de función que se puede llamar con argumentos concretos y tiene valor de retorno convertible al tipo específico

Original:

a function object that can be called with specific arguments and has return value convertible to specific type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un Callable que devuelve un valor convertible a bool para un argumento sin modificarlo

Original:

a Callable that returns a value convertible to bool for one argument without modifying it

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un Callable que devuelve un valor convertible a bool para dos argumentos sin modificarlos

Original:

a Callable that returns a value convertible to bool for two arguments without modifying them

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Container

Original:

Container

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

estructura de datos que permite el acceso de elemento mediante iteradores

Original:

data structure that allows element access using iterators

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

contenedor utilizando iteradores bidireccionales

Original:

container using bidirectional iterators

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

contenedor utilizando un asignador

Original:

container using an allocator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

contenedor con elementos almacenados linealmente

Original:

container with elements stored linearly

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

contenedor que almacena elementos asociándolos a las teclas

Original:

container that stores elements by associating them to keys

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

contenedor que almacena elementos almacenados en cubetas asociándolos a las teclas

Original:

container that stores elements stored in buckets by associating them to keys

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Elemento contenedor

Original:

Container element

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

elemento puede ser copiado construido en el almacenamiento sin inicializar

Original:

element can be copy-constructed in uninitialized storage

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

elemento se puede mover construido en el almacenamiento sin inicializar

Original:

element can be move-constructed in uninitialized storage

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

elemento puede ser construido en almacenamiento sin inicializar

Original:

element can be constructed in uninitialized storage

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Iterator

Original:

Iterator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

concepto general de acceder a datos dentro de alguna estructura de datos

Original:

general concept to access data within some data structure

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

iterador que se puede utilizar para leer datos

Original:

iterator that can be used to read data

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

iterador que se puede utilizar para escribir datos

Original:

iterator that can be used to write data

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

iterador que se puede utilizar para leer datos varias veces

Original:

iterator that can be used to read data multiple times

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

iterador que puede ser a la vez incrementa y decrementa

Original:

iterator that can be both incremented and decremented

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

iterador que puede ser avanzado en tiempo constante

Original:

iterator that can be advanced in constant time

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Stream de E / S funciones

Original:

Stream I/O functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

una función de entrada de corriente que no omite los espacios en blanco y cuenta los caracteres procesados

Original:

a stream input function that doesn't skip whitespace and counts the processed characters

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

una función de entrada de corriente que pasa por alto los principales espacios en blanco

Original:

a stream input function that skips leading whitespace

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

una corriente básica función de salida

Original:

a basic stream output function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

una función de salida de corriente que establece failbit en errores preexistentes y devuelve una referencia a la corriente

Original:

a stream output function that sets failbit on preexisting errors and returns a reference to the stream

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Generación de números aleatorios

Original:

Random Number Generation

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

consume una secuencia de números enteros y produce una secuencia de 32-bit valores sin signo

Original:

consumes a sequence of integers and produces a sequence of 32-bit unsigned values

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

vuelve uniformemente distribuidas enteros sin signo al azar

Original:

returns uniformly distributed random unsigned integers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un UniformRandomNumberGenerator determinista, definido por la semilla

Original:

a deterministic UniformRandomNumberGenerator, defined by the seed

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un RandomNumberEngine que transforma la salida de otro RandomNumberEngine

Original:

a RandomNumberEngine that transforms the output of another RandomNumberEngine

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

devuelve números aleatorios distribuidos según una función matemática dada de densidad de probabilidad

Original:

returns random numbers distributed according to a given mathematical probability density function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Concurrencia

Original:

Concurrency

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

proporciona la semántica exclusivos de propiedad de los agentes de ejecución (es decir, hilos)

Original:

provides exclusive ownership semantics for execution agents (i.e. threads)

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

(C++11)

agrega intentó bloquear la adquisición hasta la BasicLockable

Original:

adds attempted lock acquisition to BasicLockable

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

agrega adquisición temporizada de bloqueo para Lockable

Original:

adds timed lock acquisition to Lockable

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

(C++11)

un Lockable que protege contra razas de datos y sincronización secuencial consistente

Original:

a Lockable that protects against data races and sequentially consistent synchronization

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un TimedLockable que protege contra razas de datos y sincronización secuencial consistente

Original:

a TimedLockable that protects against data races and sequentially consistent synchronization

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

Otros

Original:

Other

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

describe una propiedad de un tipo

Original:

describes a property of a type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

describe una relación entre dos tipos

Original:

describes a relationship between two types

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

modifica una propiedad de un tipo

Original:

modifies a property of a type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

(C++11)

agregados de una duración, un punto de tiempo, y una función para obtener el punto de tiempo actual

Original:

aggregates a duration, a time point, and a function to get the current time point

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

un Clock que no lanza excepciones

Original:

a Clock that doesn't throw exceptions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

define los tipos y funciones para un tipo de carácter

Original:

defines types and functions for a character type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

representa una posición en una secuencia

Original:

represents a position in a stream

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

representa un desplazamiento en un arroyo

Original:

represents an offset in a stream

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)

bitset, entero o enumeración

Original:

bitset, integer, or enumeration

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(concepto)