List Question
10 TechQA 2024-10-25 10:46:29std::is_trivially_copyable is too strong, what shall I use instead?
420 views
Asked by einpoklum
Why would trivial copy/move contructibility depend on trivial destructibility?
151 views
Asked by Michael Steffens
Does the same trivially-copyable limitation that applies to `memcpy()` also apply to `std::copy()`?
291 views
Asked by Gabriel Staples
How to define a type so it can be static initialized?
138 views
Asked by Nik Polin
Why is std::is_pod deprecated in C++20?
21.4k views
Asked by skypjack
How to atomically copy types that are not-trivially copyable
352 views
Asked by Samuel Okechukwu
mutable data member, template constructor and trivially copy constructible
211 views
Asked by wanghan02
Object pointer (this) saved in the constructor for later use seems to have incorrect value
73 views
Asked by Weijun Zhou
Why (if that is the case) does the standard say that copying uninitialized memory with memcpy is UB?
452 views
Asked by Carlo Wood
Is this undefined because I memcpy'ed a non_trivially_copyable type?
362 views
Asked by Zebrafish