p-groarke / clamp_cast
A saturating arithmetic cast.
☆12Updated 5 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
- Class template designed to express optionality without having to sacrifice memory to store additional bool flag☆12Updated last year
- A ring_span implementation that allows zero construction and destruction☆16Updated 4 years ago
- type - Strong types for C++98, C++11 and later in a single-file header-only library☆36Updated 8 months ago
- A view that allows iteration over a view, returning the index of each item along with each item☆12Updated 4 years ago
- Single Header Constexpr Circular Queue☆17Updated 4 years ago
- C++ Testing using spies and fakes for isolation and simulation☆10Updated 5 years ago
- Various header libraries mostly future std lib, replacements for(e.g. visit), or some misc☆24Updated last week
- std::ring_span (SG14, P0059R1)☆45Updated 8 years ago
- 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
- observer-ptr - An observer_ptr for C++98 and later in a single-file header-only library (Extensions for Library Fundamentals, v2, v3)☆36Updated 8 months ago
- Repository for a C++11 implementation of std::out_ptr (p1132), as a standalone library!☆74Updated last year
- Helpers for preventing the static initialization order fiasco of global variables.☆43Updated 4 years ago
- C++ Defensive Macros☆30Updated 6 years ago
- Embrace (post) modern C++☆9Updated 3 years ago
- A compressed pair for C++17☆26Updated 3 years ago
- A comparison of different options to implement binary flags in C++17☆17Updated 7 years ago
- Prototype for new std::function features, compatible with C++11.☆46Updated 4 years ago
- A never-valueless, strong guarantee implementation of std::variant☆67Updated last month
- A C++ library that simplifies working with tuples, variants, and more through argument list generation and the ability to convert from ru…☆60Updated 4 years ago
- Simple header only library to add a spinner / progress indicator to any terminal application.☆38Updated 5 years ago
- A migration path to C++ library extensions scope_exit, scope_fail, scope_success, unique_resource☆45Updated 8 months ago
- optional bare - A simple version of a C++17-like optional for default-constructible, copyable types, for C++98 and later in a single-fil…☆20Updated 2 years ago
- Slides for my 2019 presentation at C++ on Sea☆13Updated 3 years ago
- Header-only llvm::Expected<T>☆37Updated 5 years ago
- ☆21Updated last week
- bit-lite - C++20 bit operations for C++98 and later in a single-file header-only library☆40Updated last year
- byte lite - A C++17-like byte type for C++98, C++11 and later in a single-file header-only library☆53Updated 8 months ago
- C++ header-only library which enable using aggregates like tuples☆24Updated 6 years ago
- Non-intrusive C++ signal programming library☆50Updated 3 years ago