Skip to content

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code; Also home of Subdoc the code-documentation generator.

License

Notifications You must be signed in to change notification settings

chromium/subspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f69d8fd · Dec 30, 2024
Dec 30, 2024
Sep 8, 2023
Sep 3, 2023
Dec 30, 2024
Dec 29, 2024
Sep 23, 2023
Dec 30, 2024
Dec 29, 2024
Dec 10, 2023
Jul 17, 2023
Jul 24, 2023
Jan 25, 2023
Feb 3, 2023
Aug 2, 2023
Dec 29, 2024
Nov 2, 2022
Aug 2, 2023
Dec 23, 2023
May 6, 2022
Jul 16, 2023
May 6, 2022
Dec 10, 2023
Dec 29, 2024
Dec 10, 2023
Dec 10, 2023

Repository files navigation

CI docs

Subspace Library

logo

An experimental take on a safer, simpler C++ standard library.

Please don't use this library. This is an experiment and we don't yet know where it will take us. There will be breaking changes without warning, and there is no stable version.

  1. See BUILD.md for instructions on building Subspace and Subdoc and running their tests.
  2. See USAGE.md for instructions on integrating the Subspace library into your project.
  3. See PRINCIPLES.md for the principles behind design choices in the Subspace library.
  4. See STYLE.md for evolving guidance and best practices for developers of the Subspace library.

Subdoc

Subdoc is a documentation generator from inline C++ documentation in the spirit of Rustdoc.

The comments in the Subspace library use markdown syntax with additional Subdoc attributes, and are designed to be consumed by Subdoc in order to generate an HTML website.

Subdoc is built on top of Subspace, giving the developers a chance to see the Subspace library in action and test the ergonomics and features of the library.

Status: Subdoc is still very much a work-in-progress, but it is being used to generate Subspace documentation on each commit.

Compiler Support

Subspace is a concept-first library and requires C++20. Compiler support for C++20 varies, and with active development ongoing, bugs in their implementations still appear and disappear regularly. When in doubt, check out which compiler versions are used by the CI bots.

Compiler Version
Clang: 16 and up
GCC: 13 and up
MSVC: VS2022 17.8.1 (Build 17.8.34316.72) and up

We attempt to work around bugs when reasonable, to widen compiler version support. See compiler_bugs.h for the set of bugs we are aware of and currently work around.

About

A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code; Also home of Subdoc the code-documentation generator.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks