C++ Logo

SG16

Advanced search

Subject: Reinterpreting pointers of character types
From: Corentin (corentin.jabot_at_[hidden])
Date: 2021-01-28 11:51:52


Hello,

In which I propose
reinterpret_string_cast, a function to cast between char* and char8_t*
without UB.

This ô terrible paper is intended as a discussion starter so that we can
refine the design with the help of our good friends in CWG :)

Have a great day,

Corentin





SG16 list run by sg16-owner@lists.isocpp.org