Skip to content

Document the C++20 build requirement (#305) - #354

Open
cloph-dsp wants to merge 1 commit into
sdatkinson:mainfrom
cloph-dsp:docs/cpp20-windows-305
Open

cloph-dsp wants to merge 1 commit into
sdatkinson:mainfrom
cloph-dsp:docs/cpp20-windows-305

Conversation

@cloph-dsp

Copy link
Copy Markdown

Closes #305 — document the C++20 requirement on Windows.

What changed

  • Added a short Requirements section to README.md: the CMake build targets C++20 (CMAKE_CXX_STANDARD 20, with several tool targets pinning cxx_std_20), so a C++20-capable compiler is expected — e.g. a recent MSVC toolset on Windows.
  • Noted that NAM/wavenet/slimmable.h has a fallback for standard libraries without std::atomic<std::shared_ptr<T>>, but that path is compatibility only; CI currently builds on Ubuntu with libstdc++ and libc++.

Why this wording

The issue asks to document an atomic use that forces C++20. As noted in the thread, #287 already added a feature-test fallback, and the constraint could not be reproduced on libc++; there is no Windows CI job. This patch therefore documents the requirement as the project's configured build target rather than asserting an unverified cause.

Verification

  • Documentation-only change; no build or tests needed.
  • Checked the referenced facts against CMakeLists.txt, tools/CMakeLists.txt, NAM/wavenet/slimmable.h and .github/workflows/build.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation: C++20 required on Windows

1 participant