C++ — briefings & field notes

Five dated news digests and five engineering Q&A entries. Each item cites primary documentation or release artifacts (not generic placeholders).

Latest news

News

WG21 advances C++26 features including contracts and reflection-related proposals

Herb Sutter’s trip reports summarize votes from the Sofia 2025 meeting, including large batches of reflection papers and contracts work targeting C++26.

Track editor’s reports for wording churn before shipping compilers.

News

cppreference documents working-draft C++26 library additions such as SIMD and hazard pointers

cppreference’s C++26 page tracks experimental compiler support for new headers like <simd> and <hazard_pointer>.

Use it as a developer-facing index, not a substitute for final ISO text.

News

WG21 paper viewer lists numbered proposals for ballot comments

When responding to national-body ballot comments, cite specific N-paper IDs from the 2025 paper list.

Archive PDFs internally for SOX traceability.

News

CMake and compiler vendors document flag pairs for modules and coroutines

Adopting C++20/23 modules in large codebases requires reading both CMake presets and MSVC/Clang flag docs together.

Cache BMI artifacts in CI.

News

LLVM libc++ release notes track ABI tags relevant to Linux distributors

When upgrading Clang, read libc++ release notes for hardening changes that may break undefined behavior that previously “worked”.

Run sanitizer builds weekly.

Questions & answers

Q&A

When can we rely on std::simd in portable code?

Wait until your minimum compiler versions implement the header per cppreference tables; provide scalar fallbacks via concepts.

Benchmark on ARM NEON vs x86 AVX512 separately.

Q&A

How do contracts interact with exceptions in mixed C++23/26 codebases?

Read the adopted contracts proposal wording (P2900 series) and compiler release notes—default levels and violation handlers differ by vendor.

Prototype in isolated libraries first.

Q&A

Where should I read about trivial relocatability optimizations?

P2786 and related papers describe trivial relocatability; libc++ and MSVC blogs explain shipping status.

Validate STL assertions in debug builds.

Q&A

Why does constexpr allocation fail across translation units in our build?

Compiler bugs and incomplete constexpr allocator support still vary; reduce reproducers and file issues with -### dumps.

Check nightly compiler regressions.

Grounding: GCC bugzilla
Q&A

How do hazard pointers interact with custom allocators?

Upcoming C++26 facilities specify reclamation interfaces; until stable, follow folly/abseil implementations and WG21 wording drafts.

Stress-test deferred destruction paths.