<div class="t-tr-text">C + +: conceitos<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> TriviallyCopyable
De cppreference.com
<metanoindex/>
Requisitos
- Construtor de cópia 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. - Construtor movimento 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. - Operador de atribuição Trivial cópiaOriginal: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. - Operador de atribuição trivial movimentoOriginal: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. - Destruidor 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
