<div class="t-tr-text">C + +の概念:<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
提供:cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
[編集] 要件
- ささいなコピーコンストラクタOriginal:Trivial copy constructorThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - 些細な移動コンストラクタOriginal:Trivial move constructorThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - ささいなコピー代入演算子Original: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. - 些細なムーブ代入演算子ですOriginal: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. - トリビアルデストラクタOriginal: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
[編集] ノート
- 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
[編集] も参照してください
| (C++11) |
checks if a type is trivially copyable (クラステンプレート) |