Концепции C++: TriviallyCopyable
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.
- 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
[править] См. также
| checks if a type is trivially copyable |