StackOverflow Questions for Tag: trivially-copyable

Michael Steffens
Michael Steffens

Reputation: 343

Why would trivial copy/move contructibility depend on trivial destructibility?

Score: 8

Views: 136

Answers: 1

Read More
Zebrafish
Zebrafish

Reputation: 13936

Is this undefined because I memcpy'ed a non_trivially_copyable type?

Score: 1

Views: 559

Answers: 3

Read More
Carlo Wood
Carlo Wood

Reputation: 6801

Why (if that is the case) does the standard say that copying uninitialized memory with memcpy is UB?

Score: 3

Views: 544

Answers: 2

Read More
Samuel Okechukwu
Samuel Okechukwu

Reputation: 205

How to atomically copy types that are not-trivially copyable

Score: 1

Views: 368

Answers: 1

Read More
Gabriel Staples
Gabriel Staples

Reputation: 52777

Does the same trivially-copyable limitation that applies to `memcpy()` also apply to `std::copy()`?

Score: 0

Views: 294

Answers: 2

Read More
PreviousPage 2Next