Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #char #te
ADD COMMENT
Topic
Name
2+2 =