Espacios de nombres
Variantes
Acciones

Conceptos C++: TriviallyCopyable

De cppreference.com
< cpp‎ | concept
 
 
C + + conceptos
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.
Biblioteca-Wide
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.
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.
Elementos contenedores
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
Números aleatorios
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
(C++11)
(C++11)
(C++11)
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.
 

[editar] Requisitos

  • Constructor de copia Trivial
    Original:
    Trivial copy constructor
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Constructor movimiento Trivial
    Original:
    Trivial move constructor
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • Copia Trivial operador de asignación
    Original:
    Trivial 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.
  • Movimiento Trivial operador de asignación
    Original:
    Trivial 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.
  • Destructor trivial
    Original:
    Trivial destructor
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • No virtual functions or virtual base classes
  • All (non-static) members and base classes are TriviallyCopyable

[editar] Notas

  1. Other than the other requirements, trivial constructor, assignment and destructor must be defined implicitly (not user-provided)
  2. Scalar types and arrays of TriviallyCopiable objects are TriviallyCopiable as well

[editar] Ver también

Comprueba si un tipo es trivialmente copiable.
(plantilla de clase) [editar]