File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,9 @@ concept Move_Constructable = __is_constructible(T, T);
513513template <typename T>
514514concept Copy_Constructable = __is_constructible(T, const T&);
515515
516+ template <typename T>
517+ concept Trivially_Constructable = __is_trivially_constructible(T);
518+
516519template <typename T>
517520concept Trivially_Copyable = __is_trivially_copyable(T);
518521
@@ -526,7 +529,8 @@ template<typename T>
526529concept Must_Destruct = !__is_trivially_destructible(T);
527530
528531template <typename T>
529- concept Trivial = __is_trivially_constructible(T) && __is_trivially_copyable(T);
532+ concept Trivial = Trivially_Constructable<T> && Trivially_Copyable<T> && Trivially_Movable<T> &&
533+ Trivially_Destructible<T>;
530534
531535template <typename E>
532536using Underlying = __underlying_type(E);
You can’t perform that action at this time.
0 commit comments