Skip to content

brglng/rxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rxx

rxx is a C++ library who aims to bring Rust goodies to C++.

Prerequisites

  • Compiler with C++11 support
  • I/O related modules only support Unix-like OSes at the moment

Differences from Rust

  • All types are by default mutable.
  • STL style iterators are provided to be compatible with for (auto&& elem : container) syntax.
  • Macros are in all upper case and prefixed with RXX_.
  • Names of all types are in CamelCase.
  • No literal support (can be added in the futrue).

Usage

rxx uses CMake. You can either include rxx in your build tree:

add_subdirectory(rxx)
target_link_library(YourProject PUBLIC Rxx::rxx)

or install rxx somewhere and use find_package to find it:

find_package(Rxx)
target_link_library(YourProject PUBLIC Rxx::rxx)

About

Rust-flavored C++ template library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published