Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160723991
D54124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
347 B
Referenced Files
None
Subscribers
None
D54124.diff
View Options
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -207,6 +207,10 @@
#define _CHAR16_T_DECLARED
#define _CHAR32_T_DECLARED
#endif
+/* and so is char8_t in C++20 */
+#if defined(__cplusplus) && __cplusplus >= 202002L
+#define _CHAR8_T_DECLARED
+#endif
typedef struct {
long long __max_align1
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 28, 5:06 AM (8 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34424724
Default Alt Text
D54124.diff (347 B)
Attached To
Mode
D54124: sys/_types.h: recognise char8_t as a builtin type in C++20
Attached
Detach File
Event Timeline
Log In to Comment