p-groarke / clamp_cast
A saturating arithmetic cast.
☆12Updated 6 years ago
Alternatives and similar repositories for clamp_cast:
Users that are interested in clamp_cast are comparing it to the libraries listed below
- `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 8 years ago
- Class template designed to express optionality without having to sacrifice memory to store additional bool flag☆12Updated last year
- C++17 sports two low-level character conversion functions, std::from_chars and std::to_chars, but they have a usage model that can be ea…☆8Updated 5 years ago
- type - Strong types for C++98, C++11 and later in a single-file header-only library☆36Updated 10 months ago
- C++ Testing using spies and fakes for isolation and simulation☆10Updated 6 years ago
- Experimental library for coroutines and networking☆16Updated 7 years ago
- A never-valueless, strong guarantee implementation of std::variant☆68Updated 3 weeks ago
- A view that allows iteration over a view, returning the index of each item along with each item☆12Updated 4 years ago
- Embrace (post) modern C++☆9Updated 3 years ago
- Single Header Constexpr Circular Queue☆18Updated 4 years ago
- Repository for a C++11 implementation of std::out_ptr (p1132), as a standalone library!☆75Updated this week
- Helpers for preventing the static initialization order fiasco of global variables.☆44Updated 4 years ago
- A ring_span implementation that allows zero construction and destruction☆16Updated 4 years ago
- A comparison of different options to implement binary flags in C++17☆17Updated 7 years ago
- A compressed pair for C++17☆26Updated 3 years ago
- Because somebody has to catch the hot potato!☆18Updated 8 years ago
- Non-intrusive C++ signal programming library☆50Updated 3 years ago
- Header-only llvm::Expected<T>☆37Updated 5 years ago
- WG21 Proposals and Drafts☆14Updated 3 years ago
- C++ components used in the project https://github.com/rnburn/bbai☆51Updated last year
- Modern C++ framework for critical systems☆21Updated last year
- A C++11 character encoding and code point enumeration library based on range-v3☆20Updated 6 years ago
- {fmt} support for ranges, containers and types with tuple interface.☆27Updated 6 years ago
- byte lite - A C++17-like byte type for C++98, C++11 and later in a single-file header-only library☆53Updated 3 weeks ago
- Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc☆23Updated 3 weeks ago
- Make std::mdspan formattable by std::format.☆10Updated last year
- Simple Reference Implementations of all the features added in C++11/14/17☆21Updated 7 years ago
- Pre-conditions, post-conditions, and assertions, all available at compile-time☆24Updated 3 years ago
- C++ Binary Fixed-Point Arithmetic☆9Updated 6 years ago