top | item 46746092 (no title) cpeterso | 1 month ago > using u8 prefixes would obligate us to insert casts everywhere.Unfortunately, casting a char8_t* to char* (and then accessing the data through the char* pointer) is undefined behavior. discuss order hn newest pkasting|1 month ago Yes, reading the actual data would still be UB. Hopefully will be fixed in C++29: https://github.com/cplusplus/papers/issues/592
pkasting|1 month ago Yes, reading the actual data would still be UB. Hopefully will be fixed in C++29: https://github.com/cplusplus/papers/issues/592
pkasting|1 month ago