A C++ 20 module of Rust-like std.
C++’s language features are exciting, but I’m tired of the std.
Made this for coding with C++ easier.
- c++ 20+
- clang 21+
- trait
- option
- result
- convert
- fat ref/ptr
- thread
- fmt
- num
- nonzero
- iter
- mem
- hash
- alloc
- box
- rc
- arc
- sync
- mpmc
- mpsc
- once
- match/enum
TODO
FetchContent_Declare(
rstd
GIT_REPOSITORY https://github.com/hypengw/rstd.git
GIT_TAG master
# GIT_TAG <commit>
EXCLUDE_FROM_ALL)
FetchContent_MakeAvailable(rstd)