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
Part of #20. Drive tools/snippet_baseline/gcc.txt to empty for these folders: fix each failing block (make it self-contained, add a prelude name only if it's truly generic, or use body), or tag it nocompile / compile-fail="…" / needs=… when that's the honest answer. Delete fixed lines from the baseline. Don't change what a page teaches; if a snippet is wrong, fix it and say so in the PR.
Folders: docs/examples/{memory,metaprogramming,numerics,datetime,io,concurrency,execution,diagnostics,language-support,feature-test-macros} and docs/examples/README.md
Acceptance: no baseline entries left for these folders; python3 tools/check_snippets.py <folders> --cxx g++-15 -q --baseline tools/snippet_baseline/gcc.txt exits 0.
All 113 failing blocks in docs/examples/{memory,metaprogramming,numerics,datetime,io,concurrency,execution,diagnostics,language-support,feature-test-macros} now compile on GCC 15; their 113 lines are deleted from the baseline. Existing pages only; no README or prelude changes.
17 snippets that were wrong are fixed (listed in the PR), e.g. the byteswap value, a valarray slice taken with auto, a temporary jthread, a shared-then-exclusive lock deadlock, the pImpl destructor claim, Jan → January, two old-draft reflection examples.
Not verified locally: needs=execution (4 blocks, checked only against stdexec), needs=linalg (3), needs=simd (1 — GCC 16's <simd> lacks the math overloads it uses).
Activity
homer6 commentedon Oct 31, 2026
Delivered in #33.
What changed
docs/examples/{memory,metaprogramming,numerics,datetime,io,concurrency,execution,diagnostics,language-support,feature-test-macros}now compile on GCC 15; their 113 lines are deleted from the baseline. Existing pages only; no README or prelude changes.byteswapvalue, avalarrayslice taken withauto, a temporaryjthread, a shared-then-exclusive lock deadlock, the pImpl destructor claim,Jan→January, two old-draft reflection examples.Why
start_lifetime_asblocks also pass on Docker GCC 16.2.Still open
needs=execution(4 blocks, checked only against stdexec),needs=linalg(3),needs=simd(1 — GCC 16's<simd>lacks the math overloads it uses).homer6 commentedon Oct 31, 2026
Merged in #33 (02ada47).
What changed
mainbefore merging: Conflict only intools/snippet_baseline/gcc.txt(neighbouring deletions from fix(examples): make container, string and text-processing snippets compile #35 and fix(examples): make algorithms, ranges, iterators, utilities and concepts snippets compile #31); resolved by keeping only lines both sides kept — 74 known failures remain (alldocs/examples/language, fixed by fix(examples): make language snippets compile #36), 0 new, 0 stale.Why
Still open