[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 --- Comment #6 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:df0a668b784556fe4317317d58961652d93d53de commit r14-8182-gdf0a668b784556fe4317317d58961652d93d53de Author: Jonathan Wakely Date:

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 --- Comment #5 from Jonathan Wakely --- V2 https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642908.html

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 --- Comment #4 from Jonathan Wakely --- The static array can be compiled for 16-bit targets like msp640-elf, although it's probably a bad idea to use it if you are memory-constrained.

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |14.0

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 --- Comment #3 from Jonathan Wakely --- Oh, I need to filter out NATS-DANO and NATS-DANO-ADD from the generated file.

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 --- Comment #2 from Jonathan Wakely --- After sending that I realised that text_encoding::environment_is can be optimized like so: template static bool environment_is() { return text_encoding(_Id)._M_is_environment(); }

[Bug libstdc++/113318] [C++23] Implement P1185R12, Naming text encodings to demystify them

2024-01-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113318 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Ev