Skip to content

quarterstar/contourcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ContourCpp

Contourcpp is a library that ports many fuctional programming patterns inspired from Rust to C++, with additional twists to them. It is header-only, so you can copy paste it to your project with ease.

I will be updating this README in a bit to have additional documentation. Currently it's just the maybe macro described in my latest blog post. Pull requests for ergonomic refinements are welcome, and feel free to open an issue if you would like to propose an extension to the existing set of features.

Planned features

  • maybe macro (done)
  • Fat enums (with C++26 reflection if possible)
  • Typestate fluent builder (with C++26 reflection if possible)
  • Port of Rust's match
  • Lifetimes
  • Utilities related to C++26 contracts?

Donate

If you wish to support me, feel free to send a donation through one of the links listed in my website.

License

The code present in this repository is written by me unless otherwise stated, and it is licensed under the MIT License

About

Bringing functional programming to C++, with modern twists

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages