No description
  • C++ 97.9%
  • CMake 2.1%
Find a file
2026-03-19 20:44:11 +08:00
.github/workflows support clang 18 2026-03-19 20:44:11 +08:00
doc rename TraitCollect to Funcs 2026-01-30 22:12:43 +00:00
src support clang 18 2026-03-19 20:44:11 +08:00
test reduce cppstd 2026-03-14 22:22:30 +08:00
.clang-format format break on attribute 2026-03-01 04:47:39 +00:00
.clangd init 2025-02-28 00:06:14 +00:00
.gitignore impl atomic 2026-03-06 09:57:56 +00:00
CMakeLists.txt support clang 18 2026-03-19 20:44:11 +08:00
LICENSE init 2025-02-28 00:06:14 +00:00
README.md support clang 18 2026-03-19 20:44:11 +08:00

Rust-like std for C++

A C++ 20 module of Rust-like std.

C++s language features are exciting, but Im tired of the std.
Made this for coding with C++ easier.

Require

  • clang 18+
  • gcc 15+

Documents

work in progress

Installation

FetchContent_Declare(
  rstd
  GIT_REPOSITORY https://github.com/hypengw/rstd.git
  GIT_TAG master
  # GIT_TAG <commit>
  EXCLUDE_FROM_ALL)
FetchContent_MakeAvailable(rstd)

Type Systems for Memory Safety
Borrowing Trouble: The Difficulties Of A C++ Borrow-Checker
rusty-cpp: Bringing Rust's safety to C++
fragile: A polyglot compiler that supports Rust, C++, Go
cxx: Safe interop between Rust and C++