Conceptos C++: TriviallyCopyable
De 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í. |
[editar] Requisitos
- Constructor de copia TrivialOriginal:Trivial copy constructorThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Constructor movimiento TrivialOriginal:Trivial move constructorThe 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ónOriginal:Trivial copy assignment operatorThe 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ónOriginal:Trivial move assignment operatorThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Destructor trivialOriginal:Trivial destructorThe 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
- Other than the other requirements, trivial constructor, assignment and destructor must be defined implicitly (not user-provided)
- Scalar types and arrays of TriviallyCopiable objects are TriviallyCopiable as well
[editar] Ver también
(C++11) |
Comprueba si un tipo es trivialmente copiable. (plantilla de clase) |