Conceptos C++: TriviallyCopyable
De cppreference.com
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
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
