Answers for "is the c++ 20 char te same as the old one"

C++
0

is the c++ 20 char te same as the old one

reinterpret_cast<const char   *>(u8"text"); // Ok.
reinterpret_cast<const char8_t*>("text");   // Undefined behavior.
Posted by: Guest on August-06-2020
0

is the c++ 20 char te same as the old one

std::cout << std::is_same_v<unsigned char, char8_t>;
Posted by: Guest on August-06-2020

Code answers related to "is the c++ 20 char te same as the old one"

Browse Popular Code Answers by Language