Skip to content
Snippets Groups Projects
Unverified Commit e4a0157c authored by Giuseppe D'Angelo's avatar Giuseppe D'Angelo Committed by Jonathan Wakely
Browse files

libstdc++: port bitwise relocatable away from is_trivial


In preparation for the deprecation of is_trivial (P3247R2).
"bitwise relocation" (or "trivial relocation" à la P1144/P2786)
doesn't need the full-fledged notion of triviality, just checking for a
trivial move constructor and a trivial destructor is sufficient.

libstdc++-v3/ChangeLog:

	* include/bits/stl_uninitialized.h: Amended the
	__is_bitwise_relocatable type trait.

Signed-off-by: default avatarGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
parent 65b5b828
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment