Skip to content

hypengw/rstd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust-like std for C++

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.

Require

  • c++ 20+
  • clang 21+

Planned

  • trait
  • option
  • result
  • convert
  • fat ref/ptr
  • thread
  • fmt
  • num
    • nonzero
  • iter
  • mem
  • hash
  • alloc
    • box
    • rc
    • arc
  • sync
    • mpmc
    • mpsc
    • once
  • match/enum

Documents

TODO

Installation

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

About

Rust-like std for C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published