Home | History | Annotate | Download | only in class.copy

Lines Matching defs:Trivial

20 struct Trivial {};
21 using _ = trivially_assignable<Trivial>;
23 // A copy/move assignment operator for class X is trivial if it is not user-provided,
43 struct VBase : virtual Trivial {};
46 // and the assignment operator selected to copy/move each [direct subobject] is trivial
61 // Both trivial and non-trivial special members.
63 TNT &operator=(const TNT &) = default; // trivial
64 TNT &operator=(TNT &); // non-trivial
66 TNT &operator=(TNT &&) = default; // trivial
67 TNT &operator=(const TNT &&); // non-trivial
79 // This has only trivial special members.
91 // This has only trivial special members.
117 // All four of these are trivial.
133 // Both of these call the trivial copy operation.
136 // Both of these call the non-trivial move operation.
184 // so moves of it use PrivateMove's copy ctor, which is trivial.
195 // so moves of it use PrivateMove's move ctor, which is not trivial.