You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(examples): library — cfenv, C strings, text_encoding, language support, named requirements #26
Part of #20. New or expanded standard-library pages (any source, verified locally — see CLAUDE.md → Source of truth):
Floating-point environment<cfenv> → numerics/.
Null-terminated sequence utilities — byte (<cstring>, <cctype>), multibyte and wide (<cwchar>, <cuchar>, <cwctype>) → strings/ or text-processing/ (follow cppreference: text processing).
text_encoding (C++26) — its own page in text-processing/ (today only a mention in localization.md).
Language support leftovers — signals (<csignal>), non-local jumps (<csetjmp>), type_info / typeid / type_index → pages in language-support/ (today only in its README).
Named requirements — overview page (Cpp17* requirements, how concepts relate).
Acceptance: house skeleton, READMEs updated, snippets pass the checker.
numerics/cfenv.md: new page on exception flags, rounding modes, feholdexcept/feupdateenv and math_errhandling, with the implementation-defined parts called out (GCC ignores #pragma STDC FENV_ACCESS; Clang honours it).
text-processing/null-terminated-byte-strings.md, null-terminated-multibyte-strings.md, null-terminated-wide-strings.md: new pages for <cstring>/<cctype>, <cwchar>/<cuchar> and <cwchar>/<cwctype>, following cppreference's text-processing layout.
text-processing/text-encoding.md: new C++26 page, linked from localization.md.
language-support/type-info.md, signals.md, non-local-jumps.md: new pages. language-support/README.md is now just the index (its "also in this library" note has moved into these pages).
named-requirements/README.md: new overview of the Cpp17/Legacy requirements, how they map to C++20 concepts, and where the two differ. Added to the master index.
The text-processing, numerics and master READMEs are updated.
Everything was compiled and run with GCC 15.2 and Clang 22 (libc++) on macOS, and with GCC 16.2 on Linux in Docker. Outputs on the pages come from those runs, including:
GCC folding and moving FP operations even with the pragma and -frounding-math;
math_errhandling 2 on macOS vs 3 on glibc;
signal handlers staying installed;
non-volatile locals being lost after longjmp at -O2;
text_encoding needing -lstdc++exp;
debug/hardened libraries catching a <= comparator.
Snippet checker: the new pages give 31 checked / 0 failed on GCC 15. The full docs/examples run against the baseline has 0 new failures and exits 0.
Still open
<cuchar> examples are verified only on Linux (GCC 16): macOS has no <uchar.h>. They are tagged needs=cuchar.
text_encoding isn't available in libc++ (Clang 22), so those blocks only compile with GCC.
Windows/MSVC specifics (16-bit wchar_t, type_info::name() format) are noted as not verified locally.
Activity
homer6 commentedon Oct 31, 2026
Delivered in #39.
What changed
numerics/cfenv.md: new page on exception flags, rounding modes,feholdexcept/feupdateenvandmath_errhandling, with the implementation-defined parts called out (GCC ignores#pragma STDC FENV_ACCESS; Clang honours it).text-processing/null-terminated-byte-strings.md,null-terminated-multibyte-strings.md,null-terminated-wide-strings.md: new pages for<cstring>/<cctype>,<cwchar>/<cuchar>and<cwchar>/<cwctype>, following cppreference's text-processing layout.text-processing/text-encoding.md: new C++26 page, linked fromlocalization.md.language-support/type-info.md,signals.md,non-local-jumps.md: new pages.language-support/README.mdis now just the index (its "also in this library" note has moved into these pages).named-requirements/README.md: new overview of the Cpp17/Legacy requirements, how they map to C++20 concepts, and where the two differ. Added to the master index.Why
-frounding-math;math_errhandling2 on macOS vs 3 on glibc;longjmpat-O2;text_encodingneeding-lstdc++exp;<=comparator.docs/examplesrun against the baseline has 0 new failures and exits 0.Still open
<cuchar>examples are verified only on Linux (GCC 16): macOS has no<uchar.h>. They are taggedneeds=cuchar.text_encodingisn't available in libc++ (Clang 22), so those blocks only compile with GCC.wchar_t,type_info::name()format) are noted as not verified locally.homer6 commentedon Oct 31, 2026
Merged in #39 (05f0cf7).
What changed
mainbefore merging: Conflict only indocs/examples/README.md: docs(examples): add debugging, safe reclamation, syncstream and print pages #32 and this PR edited neighbouring rows — kept docs(examples): add debugging, safe reclamation, syncstream and print pages #32's Diagnostics row (adds<debugging>) and this PR's Language support row (addstypeid, signals,setjmp).Why
Still open