List Question
19 TechQA 2024-02-26T17:24:41.640000C++ struct with anonymous union
146 views
Asked by Leon
Do all special member functions need to be trivial for a class to be trivially copyable?
160 views
Asked by einpoklum
Object pointer (this) saved in the constructor for later use seems to have incorrect value
116 views
Asked by Weijun Zhou
mutable data member, template constructor and trivially copy constructible
259 views
Asked by wanghan02
Class isn't trivially_copyable if a constraint on its assignment operator is not satisfied with clang 16
176 views
Asked by wanghan02
Why is a class trivially copyable with all private special member functions?
1.4k views
Asked by o_oTurtle
How to define a type so it can be static initialized?
166 views
Asked by Nik Polin
copy assignment operator with volatile qualifier
171 views
Asked by Home of the Brave
Is std::istream_iterator<int> trivially copy constuctible?
119 views
Asked by cppbest
Trivially copyable class - what has changed in C++20?
998 views
Asked by Myrddin Krustowski
std::is_trivially_copyable is too strong, what shall I use instead?
456 views
Asked by einpoklum
Trivial class that is not standard layout and vice versa
114 views
Asked by Michele Piccolini
Is this undefined because I memcpy'ed a non_trivially_copyable type?
404 views
Asked by Zebrafish
Why (if that is the case) does the standard say that copying uninitialized memory with memcpy is UB?
496 views
Asked by Carlo Wood
How to atomically copy types that are not-trivially copyable
393 views
Asked by Samuel Okechukwu
Why would trivial copy/move contructibility depend on trivial destructibility?
174 views
Asked by Michael Steffens
Does the same trivially-copyable limitation that applies to `memcpy()` also apply to `std::copy()`?
316 views
Asked by Gabriel Staples
Why is std::is_pod deprecated in C++20?
21.4k views
Asked by skypjack
Which rules determine whether an object is trivially copyable
16.6k views
Asked by laurisvr