Pepper
snct-constraints
Pepper | snct-constraints | |
---|---|---|
5 | 7 | |
128 | 15 | |
- | - | |
4.6 | 0.0 | |
21 days ago | 7 months ago | |
C++ | C++ | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pepper
snct-constraints
-
Using Exceptions for all Error Handling.... in Theory
This'll require that you write a lot of classes to constrain parameters. May I suggest you don't, and instead use snct::Constrained?
-
Error handling in API design
I would recommend also watching the second half of Ben Deane's Using Types Effectively and, if that made you think "I should start writing some Total Functions," I suggest you follow it up by looking at the snct::Constrained class for contraining input parameters.
-
C++ Show and Tell - November 2022
snct::Constrained
-
Can I learn if a class has been templated on a specific type
I've went ahead and created a pull request: https://github.com/SRNissen/snct-constraints/pull/1
- Make error handling the users problem - Søren Nissen - Meeting C++ online lightning talks
-
C++ Show and Tell - June 2022
I created snct::constraints, a wrapper that lets you express constraints on parameters directly in code. This lets you write total functions, and puts the constraints right there in code so your users don't need to read separate docs to understand what does/doesn't violate preconditions.
What are some alternatives?
Limes - C++ utilities and building blocks
AmsiHelper - Antimalware Scan Interface Helper
nomenus-rex - A CLI utility for the file mass-renaming
simple_raytracing_cuda - Simple Multithreaded Raytracing Ported to CUDA
Reduct Storage - A time series database for storing and managing large amounts of blob data [Moved to: https://github.com/reductstore/reductstore]
StrToNum - String to Number conversion constexpr library, for char and wchar_t strings.
libbase-example-cmake - Example project showing how to integrate libbase with other project using CMake.
smolnes - NES emulator in <5000 bytes of C
libbase - Standalone reimplementation of //base module from Chromium
thread-pool - A modern, fast, lightweight thread pool library based on C++20
coros - TCP server using C++ 20 Coroutines
range - Express inclusive and exclusive ranges and test for membership