p-groarke / clamp_cast
A saturating arithmetic cast.
☆12Updated 5 years ago
Related projects ⓘ
Alternatives and complementary repositories for clamp_cast
- Class template designed to express optionality without having to sacrifice memory to store additional bool flag☆12Updated last year
- C++ Testing using spies and fakes for isolation and simulation☆10Updated 5 years ago
- Single Header Constexpr Circular Queue☆17Updated 4 years ago
- A ring_span implementation that allows zero construction and destruction☆16Updated 4 years ago
- Repository for a C++11 implementation of std::out_ptr (p1132), as a standalone library!☆74Updated 10 months ago
- `mp::inplace_string<CharT, MaxSize, Traits>` is a `std::string`-like class template that stores text content in-place inside the class☆10Updated 6 years ago
- std::ring_span (SG14, P0059R1)☆45Updated 7 years ago
- Non-intrusive C++ signal programming library☆49Updated 2 years ago
- type - Strong types for C++98, C++11 and later in a single-file header-only library☆36Updated 5 months ago
- Header-only llvm::Expected<T>☆39Updated 5 years ago
- Experimental library for coroutines and networking☆16Updated 6 years ago
- A view that allows iteration over a view, returning the index of each item along with each item☆12Updated 4 years ago
- Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc☆24Updated this week
- Pre-conditions, post-conditions, and assertions, all available at compile-time☆23Updated 2 years ago
- A compiler-friendly variadic type list for C++.☆36Updated last year
- A single-file header-only library that lets you easily combine lambdas for C++11 and later☆19Updated 4 years ago
- This repository is a very simple C++ modules example.☆23Updated last year
- A C++ library that simplifies working with tuples, variants, and more through argument list generation and the ability to convert from ru…☆59Updated 4 years ago
- A never-valueless, strong guarantee implementation of std::variant☆67Updated last month
- Embrace (post) modern C++☆9Updated 3 years ago
- Make std::mdspan formattable by std::format.☆10Updated 10 months ago
- Because somebody has to catch the hot potato!☆18Updated 8 years ago
- A C++11 character encoding and code point enumeration library based on range-v3☆20Updated 6 years ago
- A C++17 metaprogramming library. Strings, Parsing, Typelists, Aggregate to Tuple conversions and Constant integral literals☆50Updated 5 years ago
- C++ adapter for traversing a container in a range-for in reverse order (C++17)☆10Updated 2 years ago
- Similar to python's `repr`, for c++☆32Updated 2 years ago
- Modern C++ framework for critical systems☆21Updated 11 months ago
- C++ testing and mocking framework☆16Updated 3 years ago