C++ Logo

sg16

Advanced search

[SG16] Implementing a name to codepoint mapping

From: Corentin Jabot <corentinjabot_at_[hidden]>
Date: Wed, 11 Dec 2019 18:41:41 +0100
Hello
I wanted to confirm that the data needed by P1097 Named character escapes
<https://wg21.link/p1097r2> fit in 240-270 KB

I have implemented a cp_from_name function that is constexpr and non
allocating

It can be played with on compiler explorer https://godbolt.org/z/Su3HR8
I describe the method used here https://cor3ntin.github.io/posts/name_to_cp/
The implementation is here
https://github.com/cor3ntin/ext-unicode-db/tree/name_to_cp - although I
should apologize for the messiness of that repository.

Thanks,

Corentin

Received on 2019-12-11 11:44:18