You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requirements on character-like types are updated unconditionally,
because `basic_string` does requires the default-constructibility.
It might be possible to make `basic_string_view` support classes with
non-public trivial default constructor, but this doesn't seem sensible.
`is_trivial(_v)` are kept in test files when `is_pod(_v)` are kept, or
when being tested theirselves.
Drive-by:
- Rewrites
`libcxx/test/std/language.support/support.types/byte.pass.cpp` with
C++17 features and removes some questionable comments in it.
Copy file name to clipboardExpand all lines: libcxx/docs/ReleaseNotes/21.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ Implemented Papers
42
42
- P0767R1: Deprecate POD (`Github <https://github.com/llvm/llvm-project/issues/104013>`__)
43
43
- P1361R2: Integration of chrono with text formatting (`Github <https://github.com/llvm/llvm-project/issues/100014>`__)
44
44
- P2255R2: A type trait to detect reference binding to temporary (implemented the type traits only) (`Github <https://github.com/llvm/llvm-project/issues/105180>`__)
45
+
- P3247R2: Deprecate the notion of trivial types (`Github <https://github.com/llvm/llvm-project/issues/118387>`__)
45
46
46
47
Improvements and New Features
47
48
-----------------------------
@@ -62,6 +63,8 @@ Deprecations and Removals
62
63
63
64
- ``std::is_pod`` and ``std::is_pod_v`` are deprecated in C++20 and later.
64
65
66
+
- ``std::is_trivial`` and ``std::is_trivial_v`` are deprecated in C++26 and later.
Copy file name to clipboardExpand all lines: libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/libcxx.control_block_layout.pass.cpp
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,9 @@ void test() {
123
123
124
124
// Make sure both types have the same triviality (that has ABI impact since
125
125
// it determined how objects are passed). Both should be non-trivial.
0 commit comments